﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsCrew" targetNamespace="http://tempuri.org/dsCrew.xsd" xmlns:mstns="http://tempuri.org/dsCrew.xsd" xmlns="http://tempuri.org/dsCrew.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CrewManagmentConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CrewManagmentConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.QLTV.Properties.Settings.GlobalReference.Default.CrewManagmentConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CrewManagmentConnectionString4" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CrewManagmentConnectionString4 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.QLTV.Properties.Settings.GlobalReference.Default.CrewManagmentConnectionString4" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblImmigrationCrewTableAdapter" GeneratorDataComponentClassName="tblImmigrationCrewTableAdapter" Name="tblImmigrationCrew" UserDataComponentName="tblImmigrationCrewTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblImmigrationCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblImmigrationCrew] WHERE (([nImmigrationCrewId] = @Original_nImmigrationCrewId) AND ((@IsNull_nImmigrationId = 1 AND [nImmigrationId] IS NULL) OR ([nImmigrationId] = @Original_nImmigrationId)) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_cIssuedBy = 1 AND [cIssuedBy] IS NULL) OR ([cIssuedBy] = @Original_cIssuedBy)) AND ((@IsNull_dDateOfIssued = 1 AND [dDateOfIssued] IS NULL) OR ([dDateOfIssued] = @Original_dDateOfIssued)) AND ((@IsNull_dDateOfExpiry = 1 AND [dDateOfExpiry] IS NULL) OR ([dDateOfExpiry] = @Original_dDateOfExpiry)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cIssuedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfIssued" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfExpiry" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfExpiry" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblImmigrationCrew] ([nImmigrationId], [nCrewId], [cIssuedBy], [cNumber], [dDateOfIssued], [dDateOfExpiry], [bScanDoc], [cExt], [nFileName]) VALUES (@nImmigrationId, @nCrewId, @cIssuedBy, @cNumber, @dDateOfIssued, @dDateOfExpiry, @bScanDoc, @cExt, @nFileName);
SELECT nImmigrationCrewId, nImmigrationId, nCrewId, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpiry, bScanDoc, cExt, nFileName FROM tblImmigrationCrew WHERE (nImmigrationCrewId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfExpiry" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        nImmigrationCrewId, nImmigrationId, nCrewId, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpiry, bScanDoc, cExt, nFileName
FROM            tblImmigrationCrew</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblImmigrationCrew] SET [nImmigrationId] = @nImmigrationId, [nCrewId] = @nCrewId, [cIssuedBy] = @cIssuedBy, [cNumber] = @cNumber, [dDateOfIssued] = @dDateOfIssued, [dDateOfExpiry] = @dDateOfExpiry, [bScanDoc] = @bScanDoc, [cExt] = @cExt, [nFileName] = @nFileName WHERE (([nImmigrationCrewId] = @Original_nImmigrationCrewId) AND ((@IsNull_nImmigrationId = 1 AND [nImmigrationId] IS NULL) OR ([nImmigrationId] = @Original_nImmigrationId)) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_cIssuedBy = 1 AND [cIssuedBy] IS NULL) OR ([cIssuedBy] = @Original_cIssuedBy)) AND ((@IsNull_dDateOfIssued = 1 AND [dDateOfIssued] IS NULL) OR ([dDateOfIssued] = @Original_dDateOfIssued)) AND ((@IsNull_dDateOfExpiry = 1 AND [dDateOfExpiry] IS NULL) OR ([dDateOfExpiry] = @Original_dDateOfExpiry)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)));
SELECT nImmigrationCrewId, nImmigrationId, nCrewId, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpiry, bScanDoc, cExt, nFileName FROM tblImmigrationCrew WHERE (nImmigrationCrewId = @nImmigrationCrewId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfExpiry" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cIssuedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfIssued" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfExpiry" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfExpiry" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpiry" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nImmigrationCrewId" ColumnName="nImmigrationCrewId" DataSourceName="CrewManagment.dbo.tblImmigrationCrew" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nImmigrationCrewId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nImmigrationCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nImmigrationCrewId" DataSetColumn="nImmigrationCrewId" />
              <Mapping SourceColumn="nImmigrationId" DataSetColumn="nImmigrationId" />
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="cIssuedBy" DataSetColumn="cIssuedBy" />
              <Mapping SourceColumn="cNumber" DataSetColumn="cNumber" />
              <Mapping SourceColumn="dDateOfIssued" DataSetColumn="dDateOfIssued" />
              <Mapping SourceColumn="dDateOfExpiry" DataSetColumn="dDateOfExpiry" />
              <Mapping SourceColumn="bScanDoc" DataSetColumn="bScanDoc" />
              <Mapping SourceColumn="cExt" DataSetColumn="cExt" />
              <Mapping SourceColumn="nFileName" DataSetColumn="nFileName" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblImmigrationCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCrewID" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataByCrewID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCrewID" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT bScanDoc, cExt, cIssuedBy, cNumber, dDateOfExpiry, dDateOfIssued, nCrewId, nFileName, nImmigrationCrewId, nImmigrationId FROM tblImmigrationCrew WHERE (nCrewId = @crewId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="crewId" ColumnName="nCrewId" DataSourceName="CrewManagment.dbo.tblImmigrationCrew" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewId" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblImmigrationDocTableAdapter" GeneratorDataComponentClassName="tblImmigrationDocTableAdapter" Name="tblImmigrationDoc" UserDataComponentName="tblImmigrationDocTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblImmigrationDoc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblImmigrationDoc] WHERE (([nImmigrationId] = @Original_nImmigrationId) AND ((@IsNull_cDocName = 1 AND [cDocName] IS NULL) OR ([cDocName] = @Original_cDocName)) AND ((@IsNull_cDocDescription = 1 AND [cDocDescription] IS NULL) OR ([cDocDescription] = @Original_cDocDescription)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cDocName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cDocName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cDocDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cDocDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblImmigrationDoc] ([cDocName], [cDocDescription]) VALUES (@cDocName, @cDocDescription);
SELECT nImmigrationId, cDocName, cDocDescription FROM tblImmigrationDoc WHERE (nImmigrationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDocName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDocDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT nImmigrationId, cDocName, cDocDescription FROM dbo.tblImmigrationDoc</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblImmigrationDoc] SET [cDocName] = @cDocName, [cDocDescription] = @cDocDescription WHERE (([nImmigrationId] = @Original_nImmigrationId) AND ((@IsNull_cDocName = 1 AND [cDocName] IS NULL) OR ([cDocName] = @Original_cDocName)) AND ((@IsNull_cDocDescription = 1 AND [cDocDescription] IS NULL) OR ([cDocDescription] = @Original_cDocDescription)));
SELECT nImmigrationId, cDocName, cDocDescription FROM tblImmigrationDoc WHERE (nImmigrationId = @nImmigrationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDocName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDocDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cDocName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cDocName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cDocDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cDocDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDocDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nImmigrationId" ColumnName="nImmigrationId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nImmigrationId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nImmigrationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nImmigrationId" DataSetColumn="nImmigrationId" />
              <Mapping SourceColumn="cDocName" DataSetColumn="cDocName" />
              <Mapping SourceColumn="cDocDescription" DataSetColumn="cDocDescription" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblEducationTableAdapter" GeneratorDataComponentClassName="tblEducationTableAdapter" Name="tblEducation" UserDataComponentName="tblEducationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblEducation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblEducation] WHERE (([nEducationId] = @Original_nEducationId) AND ((@IsNull_cCrewID = 1 AND [cCrewID] IS NULL) OR ([cCrewID] = @Original_cCrewID)) AND ((@IsNull_nEducationType = 1 AND [nEducationType] IS NULL) OR ([nEducationType] = @Original_nEducationType)) AND ((@IsNull_nCource = 1 AND [nCource] IS NULL) OR ([nCource] = @Original_nCource)) AND ((@IsNull_cFinishYear = 1 AND [cFinishYear] IS NULL) OR ([cFinishYear] = @Original_cFinishYear)) AND ((@IsNull_dPeriod = 1 AND [dPeriod] IS NULL) OR ([dPeriod] = @Original_dPeriod)) AND ((@IsNull_cSchoolName = 1 AND [cSchoolName] IS NULL) OR ([cSchoolName] = @Original_cSchoolName)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)) AND ((@IsNull_isCurrent = 1 AND [isCurrent] IS NULL) OR ([isCurrent] = @Original_isCurrent)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFinishYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_cFinishYear" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dPeriod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dPeriod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isCurrent" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isCurrent" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblEducation] ([cCrewID], [nEducationType], [nCource], [cFinishYear], [dPeriod], [cSchoolName], [bScanDoc], [cExt], [nFileName], [isCurrent]) VALUES (@cCrewID, @nEducationType, @nCource, @cFinishYear, @dPeriod, @cSchoolName, @bScanDoc, @cExt, @nFileName, @isCurrent);
SELECT nEducationId, cCrewID, nEducationType, nCource, cFinishYear, dPeriod, cSchoolName, bScanDoc, cExt, nFileName, isCurrent FROM tblEducation WHERE (nEducationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@cFinishYear" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dPeriod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isCurrent" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        nEducationId, cCrewID, nEducationType, nCource, cFinishYear, dPeriod, cSchoolName, bScanDoc, cExt, nFileName, isCurrent
FROM            tblEducation</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblEducation] SET [cCrewID] = @cCrewID, [nEducationType] = @nEducationType, [nCource] = @nCource, [cFinishYear] = @cFinishYear, [dPeriod] = @dPeriod, [cSchoolName] = @cSchoolName, [bScanDoc] = @bScanDoc, [cExt] = @cExt, [nFileName] = @nFileName, [isCurrent] = @isCurrent WHERE (([nEducationId] = @Original_nEducationId) AND ((@IsNull_cCrewID = 1 AND [cCrewID] IS NULL) OR ([cCrewID] = @Original_cCrewID)) AND ((@IsNull_nEducationType = 1 AND [nEducationType] IS NULL) OR ([nEducationType] = @Original_nEducationType)) AND ((@IsNull_nCource = 1 AND [nCource] IS NULL) OR ([nCource] = @Original_nCource)) AND ((@IsNull_cFinishYear = 1 AND [cFinishYear] IS NULL) OR ([cFinishYear] = @Original_cFinishYear)) AND ((@IsNull_dPeriod = 1 AND [dPeriod] IS NULL) OR ([dPeriod] = @Original_dPeriod)) AND ((@IsNull_cSchoolName = 1 AND [cSchoolName] IS NULL) OR ([cSchoolName] = @Original_cSchoolName)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)) AND ((@IsNull_isCurrent = 1 AND [isCurrent] IS NULL) OR ([isCurrent] = @Original_isCurrent)));
SELECT nEducationId, cCrewID, nEducationType, nCource, cFinishYear, dPeriod, cSchoolName, bScanDoc, cExt, nFileName, isCurrent FROM tblEducation WHERE (nEducationId = @nEducationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@cFinishYear" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dPeriod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isCurrent" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cCrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCource" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCource" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFinishYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_cFinishYear" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="cFinishYear" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dPeriod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dPeriod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dPeriod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cSchoolName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSchoolName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isCurrent" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isCurrent" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isCurrent" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nEducationId" ColumnName="nEducationId" DataSourceName="CrewManagment.dbo.tblEducation" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nEducationId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nEducationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nEducationId" DataSetColumn="nEducationId" />
              <Mapping SourceColumn="nEducationType" DataSetColumn="nEducationType" />
              <Mapping SourceColumn="nCource" DataSetColumn="nCource" />
              <Mapping SourceColumn="cCrewID" DataSetColumn="cCrewID" />
              <Mapping SourceColumn="cFinishYear" DataSetColumn="cFinishYear" />
              <Mapping SourceColumn="dPeriod" DataSetColumn="dPeriod" />
              <Mapping SourceColumn="cSchoolName" DataSetColumn="cSchoolName" />
              <Mapping SourceColumn="bScanDoc" DataSetColumn="bScanDoc" />
              <Mapping SourceColumn="cExt" DataSetColumn="cExt" />
              <Mapping SourceColumn="nFileName" DataSetColumn="nFileName" />
              <Mapping SourceColumn="isCurrent" DataSetColumn="isCurrent" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblEducation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCrewID" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataByCrewID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCrewID" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT bScanDoc, cCrewID, cExt, cFinishYear, cSchoolName, dPeriod, isCurrent, nCource, nEducationId, nEducationType, nFileName FROM tblEducation WHERE (cCrewID = @crewID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="crewID" ColumnName="cCrewID" DataSourceName="CrewManagment.dbo.tblEducation" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblEducationTypeTableAdapter" GeneratorDataComponentClassName="tblEducationTypeTableAdapter" Name="tblEducationType" UserDataComponentName="tblEducationTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblEducationType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblEducationType] WHERE (([nEducationType] = @Original_nEducationType))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblEducationType] ([cTypeName], [cDescription]) VALUES (@cTypeName, @cDescription);
SELECT nEducationType, cTypeName, cDescription FROM tblEducationType WHERE (nEducationType = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblEducationType.*
FROM            tblEducationType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblEducationType] SET [cTypeName] = @cTypeName, [cDescription] = @cDescription WHERE (([nEducationType] = @Original_nEducationType));
SELECT nEducationType, cTypeName, cDescription FROM tblEducationType WHERE (nEducationType = @nEducationType)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nEducationType" ColumnName="nEducationType" DataSourceName="CrewManagment.dbo.tblEducationType" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nEducationType" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nEducationType" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nEducationType" DataSetColumn="nEducationType" />
              <Mapping SourceColumn="cTypeName" DataSetColumn="cTypeName" />
              <Mapping SourceColumn="cDescription" DataSetColumn="cDescription" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblCrewTypeTableAdapter" GeneratorDataComponentClassName="tblCrewTypeTableAdapter" Name="tblCrewType" UserDataComponentName="tblCrewTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCrewType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblCrewType] WHERE (([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblCrewType] ([cTypeName], [Prefix]) VALUES (@cTypeName, @Prefix);
SELECT id, cTypeName, Prefix FROM tblCrewType WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Prefix" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Prefix" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblCrewType.*
FROM            tblCrewType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblCrewType] SET [cTypeName] = @cTypeName, [Prefix] = @Prefix WHERE (([id] = @Original_id));
SELECT id, cTypeName, Prefix FROM tblCrewType WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Prefix" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Prefix" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="CrewManagment.dbo.tblCrewType" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="cTypeName" DataSetColumn="cTypeName" />
              <Mapping SourceColumn="Prefix" DataSetColumn="Prefix" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCrewType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByID" GeneratorSourceName="FillByID" GetMethodModifier="Public" GetMethodName="GetDataByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByID" UserSourceName="FillByID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblCrewType.*
FROM            tblCrewType
where id=@id</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="CrewManagment.dbo.tblCrewType" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblCrewTableAdapter" GeneratorDataComponentClassName="tblCrewTableAdapter" Name="tblCrew" UserDataComponentName="tblCrewTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblCrew] WHERE (([nCrewId] = @Original_nCrewId) AND ((@IsNull_nRankID = 1 AND [nRankID] IS NULL) OR ([nRankID] = @Original_nRankID)) AND ((@IsNull_iCrewType = 1 AND [iCrewType] IS NULL) OR ([iCrewType] = @Original_iCrewType)) AND ((@IsNull_cFamilyName = 1 AND [cFamilyName] IS NULL) OR ([cFamilyName] = @Original_cFamilyName)) AND ((@IsNull_cMiddleName = 1 AND [cMiddleName] IS NULL) OR ([cMiddleName] = @Original_cMiddleName)) AND ((@IsNull_cFirstName = 1 AND [cFirstName] IS NULL) OR ([cFirstName] = @Original_cFirstName)) AND ((@IsNull_cAlias = 1 AND [cAlias] IS NULL) OR ([cAlias] = @Original_cAlias)) AND ((@IsNull_dDateOfBirth = 1 AND [dDateOfBirth] IS NULL) OR ([dDateOfBirth] = @Original_dDateOfBirth)) AND ((@IsNull_cAddress = 1 AND [cAddress] IS NULL) OR ([cAddress] = @Original_cAddress)) AND ((@IsNull_cPlaceOfBirth = 1 AND [cPlaceOfBirth] IS NULL) OR ([cPlaceOfBirth] = @Original_cPlaceOfBirth)) AND ((@IsNull_cHomeNo = 1 AND [cHomeNo] IS NULL) OR ([cHomeNo] = @Original_cHomeNo)) AND ((@IsNull_cHandNo = 1 AND [cHandNo] IS NULL) OR ([cHandNo] = @Original_cHandNo)) AND ((@IsNull_cEmail = 1 AND [cEmail] IS NULL) OR ([cEmail] = @Original_cEmail)) AND ((@IsNull_cSex = 1 AND [cSex] IS NULL) OR ([cSex] = @Original_cSex)) AND ((@IsNull_cMaritalStatus = 1 AND [cMaritalStatus] IS NULL) OR ([cMaritalStatus] = @Original_cMaritalStatus)) AND ((@IsNull_cNationality = 1 AND [cNationality] IS NULL) OR ([cNationality] = @Original_cNationality)) AND ((@IsNull_cContactPerson = 1 AND [cContactPerson] IS NULL) OR ([cContactPerson] = @Original_cContactPerson)) AND ((@IsNull_cContactPersonAddress = 1 AND [cContactPersonAddress] IS NULL) OR ([cContactPersonAddress] = @Original_cContactPersonAddress)) AND ((@IsNull_cContactPersonNo = 1 AND [cContactPersonNo] IS NULL) OR ([cContactPersonNo] = @Original_cContactPersonNo)) AND ((@IsNull_cContactRelation = 1 AND [cContactRelation] IS NULL) OR ([cContactRelation] = @Original_cContactRelation)) AND ((@IsNull_cContactEmail = 1 AND [cContactEmail] IS NULL) OR ([cContactEmail] = @Original_cContactEmail)) AND ((@IsNull_fHeight = 1 AND [fHeight] IS NULL) OR ([fHeight] = @Original_fHeight)) AND ((@IsNull_fWeight = 1 AND [fWeight] IS NULL) OR ([fWeight] = @Original_fWeight)) AND ((@IsNull_cBloodGroup = 1 AND [cBloodGroup] IS NULL) OR ([cBloodGroup] = @Original_cBloodGroup)) AND ((@IsNull_fShoeSizeVN = 1 AND [fShoeSizeVN] IS NULL) OR ([fShoeSizeVN] = @Original_fShoeSizeVN)) AND ((@IsNull_fShoeSizeJP = 1 AND [fShoeSizeJP] IS NULL) OR ([fShoeSizeJP] = @Original_fShoeSizeJP)) AND ((@IsNull_fOverallSizeVN = 1 AND [fOverallSizeVN] IS NULL) OR ([fOverallSizeVN] = @Original_fOverallSizeVN)) AND ((@IsNull_cOverallSizeJP = 1 AND [cOverallSizeJP] IS NULL) OR ([cOverallSizeJP] = @Original_cOverallSizeJP)) AND ((@IsNull_bDeleted = 1 AND [bDeleted] IS NULL) OR ([bDeleted] = @Original_bDeleted)) AND ((@IsNull_cCMT = 1 AND [cCMT] IS NULL) OR ([cCMT] = @Original_cCMT)) AND ((@IsNull_dNgayCap = 1 AND [dNgayCap] IS NULL) OR ([dNgayCap] = @Original_dNgayCap)) AND ((@IsNull_nNoiCap = 1 AND [nNoiCap] IS NULL) OR ([nNoiCap] = @Original_nNoiCap)) AND ((@IsNull_ContactPhuongXaID = 1 AND [ContactPhuongXaID] IS NULL) OR ([ContactPhuongXaID] = @Original_ContactPhuongXaID)) AND ((@IsNull_ContactQuanHuyenId = 1 AND [ContactQuanHuyenId] IS NULL) OR ([ContactQuanHuyenId] = @Original_ContactQuanHuyenId)) AND ((@IsNull_ContactTinhThanh = 1 AND [ContactTinhThanh] IS NULL) OR ([ContactTinhThanh] = @Original_ContactTinhThanh)) AND ((@IsNull_PhuongXaID = 1 AND [PhuongXaID] IS NULL) OR ([PhuongXaID] = @Original_PhuongXaID)) AND ((@IsNull_QuanHuyenID = 1 AND [QuanHuyenID] IS NULL) OR ([QuanHuyenID] = @Original_QuanHuyenID)) AND ((@IsNull_TinhThanhID = 1 AND [TinhThanhID] IS NULL) OR ([TinhThanhID] = @Original_TinhThanhID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFamilyName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cFamilyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cMiddleName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cMiddleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfBirth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfBirth" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cPlaceOfBirth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cPlaceOfBirth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cHomeNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cHomeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cHandNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cHandNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cSex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cSex" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cMaritalStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cMaritalStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cNationality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cNationality" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPerson" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactPerson" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPersonAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactPersonAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPersonNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cContactPersonNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactRelation" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactRelation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fHeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fWeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cBloodGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cBloodGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fShoeSizeVN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fShoeSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fShoeSizeJP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fShoeSizeJP" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fOverallSizeVN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fOverallSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cOverallSizeJP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cOverallSizeJP" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bDeleted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bDeleted" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCMT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dNgayCap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dNgayCap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nNoiCap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nNoiCap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblCrew] ([nCrewId], [nRankID], [iCrewType], [bImage], [cFamilyName], [cMiddleName], [cFirstName], [cAlias], [dDateOfBirth], [cAddress], [cPlaceOfBirth], [cHomeNo], [cHandNo], [cEmail], [cSex], [cMaritalStatus], [cNationality], [cContactPerson], [cContactPersonAddress], [cContactPersonNo], [cContactRelation], [cContactEmail], [fHeight], [fWeight], [cBloodGroup], [fShoeSizeVN], [fShoeSizeJP], [fOverallSizeVN], [cOverallSizeJP], [bDeleted], [cCMT], [dNgayCap], [nNoiCap], [ContactPhuongXaID], [ContactQuanHuyenId], [ContactTinhThanh], [PhuongXaID], [QuanHuyenID], [TinhThanhID]) VALUES (@nCrewId, @nRankID, @iCrewType, @bImage, @cFamilyName, @cMiddleName, @cFirstName, @cAlias, @dDateOfBirth, @cAddress, @cPlaceOfBirth, @cHomeNo, @cHandNo, @cEmail, @cSex, @cMaritalStatus, @cNationality, @cContactPerson, @cContactPersonAddress, @cContactPersonNo, @cContactRelation, @cContactEmail, @fHeight, @fWeight, @cBloodGroup, @fShoeSizeVN, @fShoeSizeJP, @fOverallSizeVN, @cOverallSizeJP, @bDeleted, @cCMT, @dNgayCap, @nNoiCap, @ContactPhuongXaID, @ContactQuanHuyenId, @ContactTinhThanh, @PhuongXaID, @QuanHuyenID, @TinhThanhID);
SELECT nCrewId, nRankID, iCrewType, bImage, cFamilyName, cMiddleName, cFirstName, cAlias, dDateOfBirth, cAddress, cPlaceOfBirth, cHomeNo, cHandNo, cEmail, cSex, cMaritalStatus, cNationality, cContactPerson, cContactPersonAddress, cContactPersonNo, cContactRelation, cContactEmail, fHeight, fWeight, cBloodGroup, fShoeSizeVN, fShoeSizeJP, fOverallSizeVN, cOverallSizeJP, bDeleted, cCMT, dNgayCap, nNoiCap, ContactPhuongXaID, ContactQuanHuyenId, ContactTinhThanh, PhuongXaID, QuanHuyenID, TinhThanhID FROM tblCrew WHERE (nCrewId = @nCrewId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="bImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cFamilyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cMiddleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfBirth" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cPlaceOfBirth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cHomeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cHandNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cSex" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cMaritalStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cNationality" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactPerson" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactPersonAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cContactPersonNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactRelation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fHeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fWeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cBloodGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fShoeSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fShoeSizeJP" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fOverallSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cOverallSizeJP" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bDeleted" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCMT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dNgayCap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nNoiCap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        nCrewId, nRankID, iCrewType, bImage, cFamilyName, cMiddleName, cFirstName, cAlias, dDateOfBirth, cAddress, cPlaceOfBirth, cHomeNo, cHandNo, cEmail, cSex, 
                         cMaritalStatus, cNationality, cContactPerson, cContactPersonAddress, cContactPersonNo, cContactRelation, cContactEmail, fHeight, fWeight, cBloodGroup, 
                         fShoeSizeVN, fShoeSizeJP, fOverallSizeVN, cOverallSizeJP, bDeleted, cCMT, dNgayCap, nNoiCap, ContactPhuongXaID, ContactQuanHuyenId, ContactTinhThanh, 
                         PhuongXaID, QuanHuyenID, TinhThanhID
FROM            tblCrew</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblCrew] SET [nCrewId] = @nCrewId, [nRankID] = @nRankID, [iCrewType] = @iCrewType, [bImage] = @bImage, [cFamilyName] = @cFamilyName, [cMiddleName] = @cMiddleName, [cFirstName] = @cFirstName, [cAlias] = @cAlias, [dDateOfBirth] = @dDateOfBirth, [cAddress] = @cAddress, [cPlaceOfBirth] = @cPlaceOfBirth, [cHomeNo] = @cHomeNo, [cHandNo] = @cHandNo, [cEmail] = @cEmail, [cSex] = @cSex, [cMaritalStatus] = @cMaritalStatus, [cNationality] = @cNationality, [cContactPerson] = @cContactPerson, [cContactPersonAddress] = @cContactPersonAddress, [cContactPersonNo] = @cContactPersonNo, [cContactRelation] = @cContactRelation, [cContactEmail] = @cContactEmail, [fHeight] = @fHeight, [fWeight] = @fWeight, [cBloodGroup] = @cBloodGroup, [fShoeSizeVN] = @fShoeSizeVN, [fShoeSizeJP] = @fShoeSizeJP, [fOverallSizeVN] = @fOverallSizeVN, [cOverallSizeJP] = @cOverallSizeJP, [bDeleted] = @bDeleted, [cCMT] = @cCMT, [dNgayCap] = @dNgayCap, [nNoiCap] = @nNoiCap, [ContactPhuongXaID] = @ContactPhuongXaID, [ContactQuanHuyenId] = @ContactQuanHuyenId, [ContactTinhThanh] = @ContactTinhThanh, [PhuongXaID] = @PhuongXaID, [QuanHuyenID] = @QuanHuyenID, [TinhThanhID] = @TinhThanhID WHERE (([nCrewId] = @Original_nCrewId) AND ((@IsNull_nRankID = 1 AND [nRankID] IS NULL) OR ([nRankID] = @Original_nRankID)) AND ((@IsNull_iCrewType = 1 AND [iCrewType] IS NULL) OR ([iCrewType] = @Original_iCrewType)) AND ((@IsNull_cFamilyName = 1 AND [cFamilyName] IS NULL) OR ([cFamilyName] = @Original_cFamilyName)) AND ((@IsNull_cMiddleName = 1 AND [cMiddleName] IS NULL) OR ([cMiddleName] = @Original_cMiddleName)) AND ((@IsNull_cFirstName = 1 AND [cFirstName] IS NULL) OR ([cFirstName] = @Original_cFirstName)) AND ((@IsNull_cAlias = 1 AND [cAlias] IS NULL) OR ([cAlias] = @Original_cAlias)) AND ((@IsNull_dDateOfBirth = 1 AND [dDateOfBirth] IS NULL) OR ([dDateOfBirth] = @Original_dDateOfBirth)) AND ((@IsNull_cAddress = 1 AND [cAddress] IS NULL) OR ([cAddress] = @Original_cAddress)) AND ((@IsNull_cPlaceOfBirth = 1 AND [cPlaceOfBirth] IS NULL) OR ([cPlaceOfBirth] = @Original_cPlaceOfBirth)) AND ((@IsNull_cHomeNo = 1 AND [cHomeNo] IS NULL) OR ([cHomeNo] = @Original_cHomeNo)) AND ((@IsNull_cHandNo = 1 AND [cHandNo] IS NULL) OR ([cHandNo] = @Original_cHandNo)) AND ((@IsNull_cEmail = 1 AND [cEmail] IS NULL) OR ([cEmail] = @Original_cEmail)) AND ((@IsNull_cSex = 1 AND [cSex] IS NULL) OR ([cSex] = @Original_cSex)) AND ((@IsNull_cMaritalStatus = 1 AND [cMaritalStatus] IS NULL) OR ([cMaritalStatus] = @Original_cMaritalStatus)) AND ((@IsNull_cNationality = 1 AND [cNationality] IS NULL) OR ([cNationality] = @Original_cNationality)) AND ((@IsNull_cContactPerson = 1 AND [cContactPerson] IS NULL) OR ([cContactPerson] = @Original_cContactPerson)) AND ((@IsNull_cContactPersonAddress = 1 AND [cContactPersonAddress] IS NULL) OR ([cContactPersonAddress] = @Original_cContactPersonAddress)) AND ((@IsNull_cContactPersonNo = 1 AND [cContactPersonNo] IS NULL) OR ([cContactPersonNo] = @Original_cContactPersonNo)) AND ((@IsNull_cContactRelation = 1 AND [cContactRelation] IS NULL) OR ([cContactRelation] = @Original_cContactRelation)) AND ((@IsNull_cContactEmail = 1 AND [cContactEmail] IS NULL) OR ([cContactEmail] = @Original_cContactEmail)) AND ((@IsNull_fHeight = 1 AND [fHeight] IS NULL) OR ([fHeight] = @Original_fHeight)) AND ((@IsNull_fWeight = 1 AND [fWeight] IS NULL) OR ([fWeight] = @Original_fWeight)) AND ((@IsNull_cBloodGroup = 1 AND [cBloodGroup] IS NULL) OR ([cBloodGroup] = @Original_cBloodGroup)) AND ((@IsNull_fShoeSizeVN = 1 AND [fShoeSizeVN] IS NULL) OR ([fShoeSizeVN] = @Original_fShoeSizeVN)) AND ((@IsNull_fShoeSizeJP = 1 AND [fShoeSizeJP] IS NULL) OR ([fShoeSizeJP] = @Original_fShoeSizeJP)) AND ((@IsNull_fOverallSizeVN = 1 AND [fOverallSizeVN] IS NULL) OR ([fOverallSizeVN] = @Original_fOverallSizeVN)) AND ((@IsNull_cOverallSizeJP = 1 AND [cOverallSizeJP] IS NULL) OR ([cOverallSizeJP] = @Original_cOverallSizeJP)) AND ((@IsNull_bDeleted = 1 AND [bDeleted] IS NULL) OR ([bDeleted] = @Original_bDeleted)) AND ((@IsNull_cCMT = 1 AND [cCMT] IS NULL) OR ([cCMT] = @Original_cCMT)) AND ((@IsNull_dNgayCap = 1 AND [dNgayCap] IS NULL) OR ([dNgayCap] = @Original_dNgayCap)) AND ((@IsNull_nNoiCap = 1 AND [nNoiCap] IS NULL) OR ([nNoiCap] = @Original_nNoiCap)) AND ((@IsNull_ContactPhuongXaID = 1 AND [ContactPhuongXaID] IS NULL) OR ([ContactPhuongXaID] = @Original_ContactPhuongXaID)) AND ((@IsNull_ContactQuanHuyenId = 1 AND [ContactQuanHuyenId] IS NULL) OR ([ContactQuanHuyenId] = @Original_ContactQuanHuyenId)) AND ((@IsNull_ContactTinhThanh = 1 AND [ContactTinhThanh] IS NULL) OR ([ContactTinhThanh] = @Original_ContactTinhThanh)) AND ((@IsNull_PhuongXaID = 1 AND [PhuongXaID] IS NULL) OR ([PhuongXaID] = @Original_PhuongXaID)) AND ((@IsNull_QuanHuyenID = 1 AND [QuanHuyenID] IS NULL) OR ([QuanHuyenID] = @Original_QuanHuyenID)) AND ((@IsNull_TinhThanhID = 1 AND [TinhThanhID] IS NULL) OR ([TinhThanhID] = @Original_TinhThanhID)));
SELECT nCrewId, nRankID, iCrewType, bImage, cFamilyName, cMiddleName, cFirstName, cAlias, dDateOfBirth, cAddress, cPlaceOfBirth, cHomeNo, cHandNo, cEmail, cSex, cMaritalStatus, cNationality, cContactPerson, cContactPersonAddress, cContactPersonNo, cContactRelation, cContactEmail, fHeight, fWeight, cBloodGroup, fShoeSizeVN, fShoeSizeJP, fOverallSizeVN, cOverallSizeJP, bDeleted, cCMT, dNgayCap, nNoiCap, ContactPhuongXaID, ContactQuanHuyenId, ContactTinhThanh, PhuongXaID, QuanHuyenID, TinhThanhID FROM tblCrew WHERE (nCrewId = @nCrewId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="bImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cFamilyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cMiddleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfBirth" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cPlaceOfBirth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cHomeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cHandNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cSex" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cMaritalStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cNationality" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactPerson" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactPersonAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cContactPersonNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cContactRelation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fHeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fWeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cBloodGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fShoeSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fShoeSizeJP" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fOverallSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cOverallSizeJP" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@bDeleted" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCMT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dNgayCap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nNoiCap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iCrewType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iCrewType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFamilyName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cFamilyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFamilyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cMiddleName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cMiddleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cMiddleName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cAlias" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cAlias" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAlias" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfBirth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfBirth" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfBirth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cPlaceOfBirth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cPlaceOfBirth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cPlaceOfBirth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cHomeNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cHomeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHomeNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cHandNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cHandNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cHandNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cSex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cSex" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cSex" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cMaritalStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cMaritalStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cMaritalStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cNationality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cNationality" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cNationality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPerson" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactPerson" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPersonAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactPersonAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactPersonAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactPersonNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cContactPersonNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactPersonNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactRelation" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cContactRelation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cContactRelation" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fHeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fWeight" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cBloodGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cBloodGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cBloodGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fShoeSizeVN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fShoeSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeVN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fShoeSizeJP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fShoeSizeJP" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fShoeSizeJP" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fOverallSizeVN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fOverallSizeVN" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fOverallSizeVN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cOverallSizeJP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cOverallSizeJP" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cOverallSizeJP" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bDeleted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_bDeleted" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bDeleted" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCMT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dNgayCap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dNgayCap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayCap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nNoiCap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nNoiCap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nNoiCap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactPhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhuongXaID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactQuanHuyenId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactQuanHuyenId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTinhThanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTinhThanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PhuongXaID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhuongXaID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuanHuyenID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuanHuyenID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TinhThanhID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TinhThanhID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="iCrewType" DataSetColumn="iCrewType" />
              <Mapping SourceColumn="bImage" DataSetColumn="bImage" />
              <Mapping SourceColumn="cFamilyName" DataSetColumn="cFamilyName" />
              <Mapping SourceColumn="cMiddleName" DataSetColumn="cMiddleName" />
              <Mapping SourceColumn="cFirstName" DataSetColumn="cFirstName" />
              <Mapping SourceColumn="cAlias" DataSetColumn="cAlias" />
              <Mapping SourceColumn="dDateOfBirth" DataSetColumn="dDateOfBirth" />
              <Mapping SourceColumn="cAddress" DataSetColumn="cAddress" />
              <Mapping SourceColumn="cPlaceOfBirth" DataSetColumn="cPlaceOfBirth" />
              <Mapping SourceColumn="cHomeNo" DataSetColumn="cHomeNo" />
              <Mapping SourceColumn="cHandNo" DataSetColumn="cHandNo" />
              <Mapping SourceColumn="cEmail" DataSetColumn="cEmail" />
              <Mapping SourceColumn="cMaritalStatus" DataSetColumn="cMaritalStatus" />
              <Mapping SourceColumn="cNationality" DataSetColumn="cNationality" />
              <Mapping SourceColumn="cContactPerson" DataSetColumn="cContactPerson" />
              <Mapping SourceColumn="cContactPersonAddress" DataSetColumn="cContactPersonAddress" />
              <Mapping SourceColumn="cContactPersonNo" DataSetColumn="cContactPersonNo" />
              <Mapping SourceColumn="cContactRelation" DataSetColumn="cContactRelation" />
              <Mapping SourceColumn="cContactEmail" DataSetColumn="cContactEmail" />
              <Mapping SourceColumn="fHeight" DataSetColumn="fHeight" />
              <Mapping SourceColumn="fWeight" DataSetColumn="fWeight" />
              <Mapping SourceColumn="cBloodGroup" DataSetColumn="cBloodGroup" />
              <Mapping SourceColumn="fShoeSizeVN" DataSetColumn="fShoeSizeVN" />
              <Mapping SourceColumn="fShoeSizeJP" DataSetColumn="fShoeSizeJP" />
              <Mapping SourceColumn="fOverallSizeVN" DataSetColumn="fOverallSizeVN" />
              <Mapping SourceColumn="cOverallSizeJP" DataSetColumn="cOverallSizeJP" />
              <Mapping SourceColumn="bDeleted" DataSetColumn="bDeleted" />
              <Mapping SourceColumn="nRankID" DataSetColumn="nRankID" />
              <Mapping SourceColumn="cSex" DataSetColumn="cSex" />
              <Mapping SourceColumn="cCMT" DataSetColumn="cCMT" />
              <Mapping SourceColumn="dNgayCap" DataSetColumn="dNgayCap" />
              <Mapping SourceColumn="nNoiCap" DataSetColumn="nNoiCap" />
              <Mapping SourceColumn="ContactPhuongXaID" DataSetColumn="ContactPhuongXaID" />
              <Mapping SourceColumn="ContactQuanHuyenId" DataSetColumn="ContactQuanHuyenId" />
              <Mapping SourceColumn="ContactTinhThanh" DataSetColumn="ContactTinhThanh" />
              <Mapping SourceColumn="PhuongXaID" DataSetColumn="PhuongXaID" />
              <Mapping SourceColumn="QuanHuyenID" DataSetColumn="QuanHuyenID" />
              <Mapping SourceColumn="TinhThanhID" DataSetColumn="TinhThanhID" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteCrew" Modifier="Public" Name="DeleteCrew" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteCrew">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tblCrew] WHERE ([nCrewId] = @Original_nCrewId) </CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_nCrewId" ColumnName="nCrewId" DataSourceName="CrewManagment.dbo.tblCrew" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByID" GeneratorSourceName="FillByID" GetMethodModifier="Public" GetMethodName="GetDataByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByID" UserSourceName="FillByID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ContactPhuongXaID, ContactQuanHuyenId, ContactTinhThanh, PhuongXaID, QuanHuyenID, TinhThanhID, bDeleted, bImage, cAddress, cAlias, cBloodGroup, cCMT, cContactEmail, cContactPerson, cContactPersonAddress, cContactPersonNo, cContactRelation, cEmail, cFamilyName, cFirstName, cHandNo, cHomeNo, cMaritalStatus, cMiddleName, cNationality, cOverallSizeJP, cPlaceOfBirth, cSex, dDateOfBirth, dNgayCap, fHeight, fOverallSizeVN, fShoeSizeJP, fShoeSizeVN, fWeight, iCrewType, nCrewId, nNoiCap, nRankID FROM tblCrew WHERE (nCrewId = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="nCrewId" DataSourceName="CrewManagment.dbo.tblCrew" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblCourseTableAdapter" GeneratorDataComponentClassName="tblCourseTableAdapter" Name="tblCourse" UserDataComponentName="tblCourseTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCourse" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblCourse] WHERE (([nCourse] = @Original_nCourse) AND ((@IsNull_cCourseName = 1 AND [cCourseName] IS NULL) OR ([cCourseName] = @Original_cCourseName)) AND ((@IsNull_cCourseDescription = 1 AND [cCourseDescription] IS NULL) OR ([cCourseDescription] = @Original_cCourseDescription)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCourse" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCourse" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCourseName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCourseName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCourseDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCourseDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblCourse] ([cCourseName], [cCourseDescription]) VALUES (@cCourseName, @cCourseDescription);
SELECT nCourse, cCourseName, cCourseDescription FROM tblCourse WHERE (nCourse = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCourseName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCourseDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblCourse.*
FROM            tblCourse</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblCourse] SET [cCourseName] = @cCourseName, [cCourseDescription] = @cCourseDescription WHERE (([nCourse] = @Original_nCourse) AND ((@IsNull_cCourseName = 1 AND [cCourseName] IS NULL) OR ([cCourseName] = @Original_cCourseName)) AND ((@IsNull_cCourseDescription = 1 AND [cCourseDescription] IS NULL) OR ([cCourseDescription] = @Original_cCourseDescription)));
SELECT nCourse, cCourseName, cCourseDescription FROM tblCourse WHERE (nCourse = @nCourse)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCourseName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCourseDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCourse" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCourse" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCourseName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCourseName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCourseDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCourseDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCourseDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nCourse" ColumnName="nCourse" DataSourceName="CrewManagment.dbo.tblCourse" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nCourse" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nCourse" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nCourse" DataSetColumn="nCourse" />
              <Mapping SourceColumn="cCourseName" DataSetColumn="cCourseName" />
              <Mapping SourceColumn="cCourseDescription" DataSetColumn="cCourseDescription" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblCertificateCrewTableAdapter" GeneratorDataComponentClassName="tblCertificateCrewTableAdapter" Name="tblCertificateCrew" UserDataComponentName="tblCertificateCrewTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCertificateCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblCertificateCrew] WHERE (([nCertificateCrew] = @Original_nCertificateCrew) AND ((@IsNull_nCertificationId = 1 AND [nCertificationId] IS NULL) OR ([nCertificationId] = @Original_nCertificationId)) AND ((@IsNull_nCrewid = 1 AND [nCrewid] IS NULL) OR ([nCrewid] = @Original_nCrewid)) AND ((@IsNull_cIssuedBy = 1 AND [cIssuedBy] IS NULL) OR ([cIssuedBy] = @Original_cIssuedBy)) AND ((@IsNull_dDateOfIssued = 1 AND [dDateOfIssued] IS NULL) OR ([dDateOfIssued] = @Original_dDateOfIssued)) AND ((@IsNull_dDateOfExpire = 1 AND [dDateOfExpire] IS NULL) OR ([dDateOfExpire] = @Original_dDateOfExpire)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_IsUnlimited = 1 AND [IsUnlimited] IS NULL) OR ([IsUnlimited] = @Original_IsUnlimited)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificateCrew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificateCrew" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cIssuedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfIssued" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfExpire" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfExpire" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsUnlimited" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsUnlimited" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblCertificateCrew] ([nCertificationId], [nCrewid], [cIssuedBy], [cNumber], [dDateOfIssued], [dDateOfExpire], [nFileName], [bScanDoc], [cExt], [IsUnlimited]) VALUES (@nCertificationId, @nCrewid, @cIssuedBy, @cNumber, @dDateOfIssued, @dDateOfExpire, @nFileName, @bScanDoc, @cExt, @IsUnlimited);
SELECT nCertificateCrew, nCertificationId, nCrewid, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpire, nFileName, bScanDoc, cExt, IsUnlimited FROM tblCertificateCrew WHERE (nCertificateCrew = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfExpire" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsUnlimited" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        nCertificateCrew, nCertificationId, nCrewid, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpire, nFileName, bScanDoc, cExt, IsUnlimited
FROM            tblCertificateCrew</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblCertificateCrew] SET [nCertificationId] = @nCertificationId, [nCrewid] = @nCrewid, [cIssuedBy] = @cIssuedBy, [cNumber] = @cNumber, [dDateOfIssued] = @dDateOfIssued, [dDateOfExpire] = @dDateOfExpire, [nFileName] = @nFileName, [bScanDoc] = @bScanDoc, [cExt] = @cExt, [IsUnlimited] = @IsUnlimited WHERE (([nCertificateCrew] = @Original_nCertificateCrew) AND ((@IsNull_nCertificationId = 1 AND [nCertificationId] IS NULL) OR ([nCertificationId] = @Original_nCertificationId)) AND ((@IsNull_nCrewid = 1 AND [nCrewid] IS NULL) OR ([nCrewid] = @Original_nCrewid)) AND ((@IsNull_cIssuedBy = 1 AND [cIssuedBy] IS NULL) OR ([cIssuedBy] = @Original_cIssuedBy)) AND ((@IsNull_dDateOfIssued = 1 AND [dDateOfIssued] IS NULL) OR ([dDateOfIssued] = @Original_dDateOfIssued)) AND ((@IsNull_dDateOfExpire = 1 AND [dDateOfExpire] IS NULL) OR ([dDateOfExpire] = @Original_dDateOfExpire)) AND ((@IsNull_nFileName = 1 AND [nFileName] IS NULL) OR ([nFileName] = @Original_nFileName)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_IsUnlimited = 1 AND [IsUnlimited] IS NULL) OR ([IsUnlimited] = @Original_IsUnlimited)));
SELECT nCertificateCrew, nCertificationId, nCrewid, cIssuedBy, cNumber, dDateOfIssued, dDateOfExpire, nFileName, bScanDoc, cExt, IsUnlimited FROM tblCertificateCrew WHERE (nCertificateCrew = @nCertificateCrew)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateOfExpire" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@bScanDoc" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="bScanDoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsUnlimited" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificateCrew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificateCrew" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cIssuedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cIssuedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cIssuedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfIssued" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfIssued" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfIssued" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateOfExpire" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateOfExpire" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDateOfExpire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nFileName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nFileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFileName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsUnlimited" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsUnlimited" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsUnlimited" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nCertificateCrew" ColumnName="nCertificateCrew" DataSourceName="CrewManagment.dbo.tblCertificateCrew" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nCertificateCrew" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nCertificateCrew" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nCertificateCrew" DataSetColumn="nCertificateCrew" />
              <Mapping SourceColumn="nCertificationId" DataSetColumn="nCertificationId" />
              <Mapping SourceColumn="nCrewid" DataSetColumn="nCrewid" />
              <Mapping SourceColumn="cIssuedBy" DataSetColumn="cIssuedBy" />
              <Mapping SourceColumn="cNumber" DataSetColumn="cNumber" />
              <Mapping SourceColumn="dDateOfIssued" DataSetColumn="dDateOfIssued" />
              <Mapping SourceColumn="dDateOfExpire" DataSetColumn="dDateOfExpire" />
              <Mapping SourceColumn="bScanDoc" DataSetColumn="bScanDoc" />
              <Mapping SourceColumn="cExt" DataSetColumn="cExt" />
              <Mapping SourceColumn="nFileName" DataSetColumn="nFileName" />
              <Mapping SourceColumn="IsUnlimited" DataSetColumn="IsUnlimited" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCertificateCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCrewID" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataByCrewID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCrewID" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT IsUnlimited, bScanDoc, cExt, cIssuedBy, cNumber, dDateOfExpire, dDateOfIssued, nCertificateCrew, nCertificationId, nCrewid, nFileName FROM tblCertificateCrew WHERE (nCrewid = @crewID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="crewID" ColumnName="nCrewid" DataSourceName="CrewManagment.dbo.tblCertificateCrew" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblCertificationTableAdapter" GeneratorDataComponentClassName="tblCertificationTableAdapter" Name="tblCertification" UserDataComponentName="tblCertificationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblCertification" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblCertification] WHERE (([nCertificationId] = @Original_nCertificationId) AND ((@IsNull_cCertificationName = 1 AND [cCertificationName] IS NULL) OR ([cCertificationName] = @Original_cCertificationName)) AND ((@IsNull_cCertificationDescription = 1 AND [cCertificationDescription] IS NULL) OR ([cCertificationDescription] = @Original_cCertificationDescription)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCertificationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCertificationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCertificationDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCertificationDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblCertification] ([cCertificationName], [cCertificationDescription]) VALUES (@cCertificationName, @cCertificationDescription);
SELECT nCertificationId, cCertificationName, cCertificationDescription FROM tblCertification WHERE (nCertificationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCertificationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCertificationDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT nCertificationId, cCertificationName, cCertificationDescription FROM dbo.tblCertification</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblCertification] SET [cCertificationName] = @cCertificationName, [cCertificationDescription] = @cCertificationDescription WHERE (([nCertificationId] = @Original_nCertificationId) AND ((@IsNull_cCertificationName = 1 AND [cCertificationName] IS NULL) OR ([cCertificationName] = @Original_cCertificationName)) AND ((@IsNull_cCertificationDescription = 1 AND [cCertificationDescription] IS NULL) OR ([cCertificationDescription] = @Original_cCertificationDescription)));
SELECT nCertificationId, cCertificationName, cCertificationDescription FROM tblCertification WHERE (nCertificationId = @nCertificationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCertificationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cCertificationDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCertificationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCertificationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cCertificationDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cCertificationDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cCertificationDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nCertificationId" ColumnName="nCertificationId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nCertificationId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nCertificationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nCertificationId" DataSetColumn="nCertificationId" />
              <Mapping SourceColumn="cCertificationName" DataSetColumn="cCertificationName" />
              <Mapping SourceColumn="cCertificationDescription" DataSetColumn="cCertificationDescription" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblExprienceTableAdapter" GeneratorDataComponentClassName="tblExprienceTableAdapter" Name="tblExprience" UserDataComponentName="tblExprienceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblExprience" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblExprience] WHERE (([nExprienceId] = @Original_nExprienceId) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_nRankId = 1 AND [nRankId] IS NULL) OR ([nRankId] = @Original_nRankId)) AND ((@IsNull_nVesselId = 1 AND [nVesselId] IS NULL) OR ([nVesselId] = @Original_nVesselId)) AND ((@IsNull_nEmbarkedPlace = 1 AND [nEmbarkedPlace] IS NULL) OR ([nEmbarkedPlace] = @Original_nEmbarkedPlace)) AND ((@IsNull_nDisembarkedPlace = 1 AND [nDisembarkedPlace] IS NULL) OR ([nDisembarkedPlace] = @Original_nDisembarkedPlace)) AND ((@IsNull_dEmbarkedDate = 1 AND [dEmbarkedDate] IS NULL) OR ([dEmbarkedDate] = @Original_dEmbarkedDate)) AND ((@IsNull_dDisembarkedDate = 1 AND [dDisembarkedDate] IS NULL) OR ([dDisembarkedDate] = @Original_dDisembarkedDate)) AND ((@IsNull_fDuration = 1 AND [fDuration] IS NULL) OR ([fDuration] = @Original_fDuration)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nExprienceId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nExprienceId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEmbarkedPlace" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nEmbarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nDisembarkedPlace" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nDisembarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dEmbarkedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dEmbarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDisembarkedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDisembarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fDuration" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fDuration" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblExprience] ([nCrewId], [nRankId], [nVesselId], [nEmbarkedPlace], [nDisembarkedPlace], [dEmbarkedDate], [dDisembarkedDate], [fDuration]) VALUES (@nCrewId, @nRankId, @nVesselId, @nEmbarkedPlace, @nDisembarkedPlace, @dEmbarkedDate, @dDisembarkedDate, @fDuration);
SELECT nExprienceId, nCrewId, nRankId, nVesselId, nEmbarkedPlace, nDisembarkedPlace, dEmbarkedDate, dDisembarkedDate, fDuration FROM tblExprience WHERE (nExprienceId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nEmbarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nDisembarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dEmbarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDisembarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fDuration" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        nExprienceId, nCrewId, nRankId, nVesselId, nEmbarkedPlace, nDisembarkedPlace, dEmbarkedDate, dDisembarkedDate, fDuration
FROM            tblExprience</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblExprience] SET [nCrewId] = @nCrewId, [nRankId] = @nRankId, [nVesselId] = @nVesselId, [nEmbarkedPlace] = @nEmbarkedPlace, [nDisembarkedPlace] = @nDisembarkedPlace, [dEmbarkedDate] = @dEmbarkedDate, [dDisembarkedDate] = @dDisembarkedDate, [fDuration] = @fDuration WHERE (([nExprienceId] = @Original_nExprienceId) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_nRankId = 1 AND [nRankId] IS NULL) OR ([nRankId] = @Original_nRankId)) AND ((@IsNull_nVesselId = 1 AND [nVesselId] IS NULL) OR ([nVesselId] = @Original_nVesselId)) AND ((@IsNull_nEmbarkedPlace = 1 AND [nEmbarkedPlace] IS NULL) OR ([nEmbarkedPlace] = @Original_nEmbarkedPlace)) AND ((@IsNull_nDisembarkedPlace = 1 AND [nDisembarkedPlace] IS NULL) OR ([nDisembarkedPlace] = @Original_nDisembarkedPlace)) AND ((@IsNull_dEmbarkedDate = 1 AND [dEmbarkedDate] IS NULL) OR ([dEmbarkedDate] = @Original_dEmbarkedDate)) AND ((@IsNull_dDisembarkedDate = 1 AND [dDisembarkedDate] IS NULL) OR ([dDisembarkedDate] = @Original_dDisembarkedDate)) AND ((@IsNull_fDuration = 1 AND [fDuration] IS NULL) OR ([fDuration] = @Original_fDuration)));
SELECT nExprienceId, nCrewId, nRankId, nVesselId, nEmbarkedPlace, nDisembarkedPlace, dEmbarkedDate, dDisembarkedDate, fDuration FROM tblExprience WHERE (nExprienceId = @nExprienceId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nEmbarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nDisembarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dEmbarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDisembarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@fDuration" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nExprienceId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nExprienceId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEmbarkedPlace" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nEmbarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nEmbarkedPlace" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nDisembarkedPlace" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nDisembarkedPlace" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nDisembarkedPlace" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dEmbarkedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dEmbarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dEmbarkedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDisembarkedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDisembarkedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dDisembarkedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fDuration" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_fDuration" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fDuration" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nExprienceId" ColumnName="nExprienceId" DataSourceName="CrewManagment.dbo.tblExprience" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nExprienceId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nExprienceId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nExprienceId" DataSetColumn="nExprienceId" />
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="nRankId" DataSetColumn="nRankId" />
              <Mapping SourceColumn="nVesselId" DataSetColumn="nVesselId" />
              <Mapping SourceColumn="nEmbarkedPlace" DataSetColumn="nEmbarkedPlace" />
              <Mapping SourceColumn="nDisembarkedPlace" DataSetColumn="nDisembarkedPlace" />
              <Mapping SourceColumn="dEmbarkedDate" DataSetColumn="dEmbarkedDate" />
              <Mapping SourceColumn="dDisembarkedDate" DataSetColumn="dDisembarkedDate" />
              <Mapping SourceColumn="fDuration" DataSetColumn="fDuration" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblExprience" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT dDisembarkedDate, dEmbarkedDate, fDuration, nCrewId, nDisembarkedPlace, nEmbarkedPlace, nExprienceId, nRankId, nVesselId FROM tblExprience WHERE (nCrewId = @crewid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="crewid" ColumnName="nCrewId" DataSourceName="CrewManagment.dbo.tblExprience" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblNhanXetCuaChuTauTableAdapter" GeneratorDataComponentClassName="tblNhanXetCuaChuTauTableAdapter" Name="tblNhanXetCuaChuTau" UserDataComponentName="tblNhanXetCuaChuTauTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblNhanXetCuaChuTau" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblNhanXetCuaChuTau] WHERE (([iNhanXetID] = @Original_iNhanXetID) AND ((@IsNull_iVesselId = 1 AND [iVesselId] IS NULL) OR ([iVesselId] = @Original_iVesselId)) AND ((@IsNull_nCrewID = 1 AND [nCrewID] IS NULL) OR ([nCrewID] = @Original_nCrewID)) AND ((@IsNull_nTieuDe = 1 AND [nTieuDe] IS NULL) OR ([nTieuDe] = @Original_nTieuDe)) AND ((@IsNull_dNgayNhanXet = 1 AND [dNgayNhanXet] IS NULL) OR ([dNgayNhanXet] = @Original_dNgayNhanXet)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nSize = 1 AND [nSize] IS NULL) OR ([nSize] = @Original_nSize)) AND ((@IsNull_nGhiChu = 1 AND [nGhiChu] IS NULL) OR ([nGhiChu] = @Original_nGhiChu)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iNhanXetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iNhanXetID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nTieuDe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nTieuDe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dNgayNhanXet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dNgayNhanXet" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nSize" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_nSize" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nGhiChu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nGhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblNhanXetCuaChuTau] ([iVesselId], [nCrewID], [nTieuDe], [dNgayNhanXet], [pNoiDung], [cExt], [nSize], [nFilePath], [nGhiChu]) VALUES (@iVesselId, @nCrewID, @nTieuDe, @dNgayNhanXet, @pNoiDung, @cExt, @nSize, @nFilePath, @nGhiChu);
SELECT iNhanXetID, iVesselId, nCrewID, nTieuDe, dNgayNhanXet, pNoiDung, cExt, nSize, nFilePath, nGhiChu FROM tblNhanXetCuaChuTau WHERE (iNhanXetID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nTieuDe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dNgayNhanXet" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@pNoiDung" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="pNoiDung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@nSize" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nGhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        iNhanXetID, iVesselId, nCrewID, nTieuDe, dNgayNhanXet, pNoiDung, cExt, nSize, nFilePath, nGhiChu
FROM            tblNhanXetCuaChuTau</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblNhanXetCuaChuTau] SET [iVesselId] = @iVesselId, [nCrewID] = @nCrewID, [nTieuDe] = @nTieuDe, [dNgayNhanXet] = @dNgayNhanXet, [pNoiDung] = @pNoiDung, [cExt] = @cExt, [nSize] = @nSize, [nFilePath] = @nFilePath, [nGhiChu] = @nGhiChu WHERE (([iNhanXetID] = @Original_iNhanXetID) AND ((@IsNull_iVesselId = 1 AND [iVesselId] IS NULL) OR ([iVesselId] = @Original_iVesselId)) AND ((@IsNull_nCrewID = 1 AND [nCrewID] IS NULL) OR ([nCrewID] = @Original_nCrewID)) AND ((@IsNull_nTieuDe = 1 AND [nTieuDe] IS NULL) OR ([nTieuDe] = @Original_nTieuDe)) AND ((@IsNull_dNgayNhanXet = 1 AND [dNgayNhanXet] IS NULL) OR ([dNgayNhanXet] = @Original_dNgayNhanXet)) AND ((@IsNull_cExt = 1 AND [cExt] IS NULL) OR ([cExt] = @Original_cExt)) AND ((@IsNull_nSize = 1 AND [nSize] IS NULL) OR ([nSize] = @Original_nSize)) AND ((@IsNull_nGhiChu = 1 AND [nGhiChu] IS NULL) OR ([nGhiChu] = @Original_nGhiChu)));
SELECT iNhanXetID, iVesselId, nCrewID, nTieuDe, dNgayNhanXet, pNoiDung, cExt, nSize, nFilePath, nGhiChu FROM tblNhanXetCuaChuTau WHERE (iNhanXetID = @iNhanXetID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nTieuDe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dNgayNhanXet" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@pNoiDung" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="pNoiDung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@nSize" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nGhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iNhanXetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iNhanXetID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nTieuDe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nTieuDe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nTieuDe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dNgayNhanXet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dNgayNhanXet" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dNgayNhanXet" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cExt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_cExt" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="cExt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nSize" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_nSize" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="nSize" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nGhiChu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nGhiChu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nGhiChu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="iNhanXetID" ColumnName="iNhanXetID" DataSourceName="CrewManagment.dbo.tblNhanXetCuaChuTau" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iNhanXetID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iNhanXetID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="iNhanXetID" DataSetColumn="iNhanXetID" />
              <Mapping SourceColumn="iVesselId" DataSetColumn="iVesselId" />
              <Mapping SourceColumn="nCrewID" DataSetColumn="nCrewID" />
              <Mapping SourceColumn="nTieuDe" DataSetColumn="nTieuDe" />
              <Mapping SourceColumn="dNgayNhanXet" DataSetColumn="dNgayNhanXet" />
              <Mapping SourceColumn="pNoiDung" DataSetColumn="pNoiDung" />
              <Mapping SourceColumn="cExt" DataSetColumn="cExt" />
              <Mapping SourceColumn="nSize" DataSetColumn="nSize" />
              <Mapping SourceColumn="nFilePath" DataSetColumn="nFilePath" />
              <Mapping SourceColumn="nGhiChu" DataSetColumn="nGhiChu" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblNhanXetCuaChuTau" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCrewID" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataByCrewID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCrewID" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        iNhanXetID, iVesselId, nCrewID, nTieuDe, dNgayNhanXet, pNoiDung, cExt, nSize, nFilePath, nGhiChu
FROM            tblNhanXetCuaChuTau
where nCrewID=@crewID 
order by   iNhanXetID desc</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="crewID" ColumnName="nCrewID" DataSourceName="CrewManagment.dbo.tblNhanXetCuaChuTau" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblRankTableAdapter" GeneratorDataComponentClassName="tblRankTableAdapter" Name="tblRank" UserDataComponentName="tblRankTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblRank" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblRank] WHERE (([nRankId] = @Original_nRankId) AND ((@IsNull_cRankName = 1 AND [cRankName] IS NULL) OR ([cRankName] = @Original_cRankName)) AND ((@IsNull_nRankLevel = 1 AND [nRankLevel] IS NULL) OR ([nRankLevel] = @Original_nRankLevel)) AND ((@IsNull_cRankDescription = 1 AND [cRankDescription] IS NULL) OR ([cRankDescription] = @Original_cRankDescription)) AND ((@IsNull_iRankType = 1 AND [iRankType] IS NULL) OR ([iRankType] = @Original_iRankType)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cRankName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cRankName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cRankDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cRankDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblRank] ([cRankName], [nRankLevel], [cRankDescription], [iRankType]) VALUES (@cRankName, @nRankLevel, @cRankDescription, @iRankType);
SELECT nRankId, cRankName, nRankLevel, cRankDescription, iRankType FROM tblRank WHERE (nRankId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cRankName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cRankDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT nRankId, cRankName, nRankLevel, cRankDescription, iRankType FROM dbo.tblRank</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblRank] SET [cRankName] = @cRankName, [nRankLevel] = @nRankLevel, [cRankDescription] = @cRankDescription, [iRankType] = @iRankType WHERE (([nRankId] = @Original_nRankId) AND ((@IsNull_cRankName = 1 AND [cRankName] IS NULL) OR ([cRankName] = @Original_cRankName)) AND ((@IsNull_nRankLevel = 1 AND [nRankLevel] IS NULL) OR ([nRankLevel] = @Original_nRankLevel)) AND ((@IsNull_cRankDescription = 1 AND [cRankDescription] IS NULL) OR ([cRankDescription] = @Original_cRankDescription)) AND ((@IsNull_iRankType = 1 AND [iRankType] IS NULL) OR ([iRankType] = @Original_iRankType)));
SELECT nRankId, cRankName, nRankLevel, cRankDescription, iRankType FROM tblRank WHERE (nRankId = @nRankId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cRankName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cRankDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cRankName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cRankName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nRankLevel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nRankLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cRankDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cRankDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cRankDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iRankType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iRankType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nRankId" ColumnName="nRankId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nRankId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nRankId" DataSetColumn="nRankId" />
              <Mapping SourceColumn="cRankName" DataSetColumn="cRankName" />
              <Mapping SourceColumn="nRankLevel" DataSetColumn="nRankLevel" />
              <Mapping SourceColumn="cRankDescription" DataSetColumn="cRankDescription" />
              <Mapping SourceColumn="iRankType" DataSetColumn="iRankType" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblRank" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByType" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByType" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByType">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT nRankId, cRankName, nRankLevel, cRankDescription, iRankType FROM dbo.tblRank
where iRankType=@typeid
</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="typeid" ColumnName="iRankType" DataSourceName="CrewManagment.dbo.tblRank" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typeid" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iRankType" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblRank" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="RankTypeID" Modifier="Public" Name="RankTypeID" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="RankTypeID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        iRankType
FROM            tblRank
WHERE        (nRankId = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="nRankId" DataSourceName="CrewManagment.dbo.tblRank" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nRankId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblRankingTableAdapter" GeneratorDataComponentClassName="tblRankingTableAdapter" Name="tblRanking" UserDataComponentName="tblRankingTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblRanking" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblRanking] WHERE (([id] = @Original_id) AND ([rankID] = @Original_rankID) AND ([nCrewId] = @Original_nCrewId) AND ((@IsNull_dDateIssused = 1 AND [dDateIssused] IS NULL) OR ([dDateIssused] = @Original_dDateIssused)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rankID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateIssused" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateIssused" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblRanking] ([rankID], [nCrewId], [dDateIssused]) VALUES (@rankID, @nCrewId, @dDateIssused);
SELECT id, rankID, nCrewId, dDateIssused FROM tblRanking WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rankID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateIssused" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT id, rankID, nCrewId, dDateIssused FROM dbo.tblRanking</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblRanking] SET [rankID] = @rankID, [nCrewId] = @nCrewId, [dDateIssused] = @dDateIssused WHERE (([id] = @Original_id) AND ([rankID] = @Original_rankID) AND ([nCrewId] = @Original_nCrewId) AND ((@IsNull_dDateIssused = 1 AND [dDateIssused] IS NULL) OR ([dDateIssused] = @Original_dDateIssused)));
SELECT id, rankID, nCrewId, dDateIssused FROM tblRanking WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rankID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dDateIssused" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rankID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rankID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dDateIssused" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dDateIssused" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="dDateIssused" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="rankID" DataSetColumn="rankID" />
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="dDateIssused" DataSetColumn="dDateIssused" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblRanking" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByCrewID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TOP (1) id,rankID, nCrewId, dDateIssused
FROM            tblRanking
WHERE        (nCrewId = @crewid)
ORDER BY dDateIssused DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="crewid" ColumnName="nCrewId" DataSourceName="CrewManagment.dbo.tblRanking" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@crewid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblAssignmentTableAdapter" GeneratorDataComponentClassName="tblAssignmentTableAdapter" Name="tblAssignment" UserDataComponentName="tblAssignmentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblAssignment.nAssignmentId, tblAssignment.nCrewid, tblAssignment.nVesselId, tblAssignment.cStatus, tblAssignment.cDescription, tblAssignment.dEmbarked, 
                         tblAssignment.dLeave, tblAssignment.dModified, tblAssignment.isActive, tblVessel.cVesselName, tblAssignment.nRequest, tblAssignment.dDuKienRoiTau, 
                         tblAssignment.dSanSangLenTau, tblAssignment.dCatHopDong, tblAssignment.dNghiHuu, tblAssignment.dKyHopDong, tblAssignment.nContract
FROM            tblAssignment INNER JOIN
                         tblVessel ON tblAssignment.nVesselId = tblVessel.nVesselId
WHERE        (tblAssignment.isActive = 1)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nAssignmentId" DataSetColumn="nAssignmentId" />
              <Mapping SourceColumn="nCrewid" DataSetColumn="nCrewid" />
              <Mapping SourceColumn="nVesselId" DataSetColumn="nVesselId" />
              <Mapping SourceColumn="cStatus" DataSetColumn="cStatus" />
              <Mapping SourceColumn="cDescription" DataSetColumn="cDescription" />
              <Mapping SourceColumn="dEmbarked" DataSetColumn="dEmbarked" />
              <Mapping SourceColumn="dLeave" DataSetColumn="dLeave" />
              <Mapping SourceColumn="dModified" DataSetColumn="dModified" />
              <Mapping SourceColumn="isActive" DataSetColumn="isActive" />
              <Mapping SourceColumn="cVesselName" DataSetColumn="cVesselName" />
              <Mapping SourceColumn="nRequest" DataSetColumn="nRequest" />
              <Mapping SourceColumn="dDuKienRoiTau" DataSetColumn="dDuKienRoiTau" />
              <Mapping SourceColumn="dSanSangLenTau" DataSetColumn="dSanSangLenTau" />
              <Mapping SourceColumn="dCatHopDong" DataSetColumn="dCatHopDong" />
              <Mapping SourceColumn="dNghiHuu" DataSetColumn="dNghiHuu" />
              <Mapping SourceColumn="dKyHopDong" DataSetColumn="dKyHopDong" />
              <Mapping SourceColumn="nContract" DataSetColumn="nContract" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblViewCrewTableAdapter" GeneratorDataComponentClassName="tblViewCrewTableAdapter" Name="tblViewCrew" UserDataComponentName="tblViewCrewTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblRank.cRankName, tblCrew.nCrewId, tblCrew.nRankID, tblCrew.iCrewType, tblCrew.bImage, tblCrew.cFamilyName, tblCrew.cMiddleName, tblCrew.cFirstName, 
                         tblCrew.cAlias, tblCrew.dDateOfBirth, tblCrew.cAddress, tblCrew.cPlaceOfBirth, tblCrew.cHomeNo, tblCrew.cHandNo, tblCrew.cEmail, tblCrew.cSex, 
                         tblCrew.cMaritalStatus, tblCrew.cNationality, tblCrew.cContactPerson, tblCrew.cContactPersonAddress, tblCrew.cContactPersonNo, tblCrew.cContactRelation, 
                         tblCrew.cContactEmail, tblCrew.fHeight, tblCrew.fWeight, tblCrew.cBloodGroup, tblCrew.fShoeSizeVN, tblCrew.fShoeSizeJP, tblCrew.fOverallSizeVN, 
                         tblCrew.cOverallSizeJP, tblCrew.bDeleted, tblAssignment.cStatus, tblAssignment.nVesselId, tblRank.nRankLevel, tblCrew.cCMT, tblCrew.dNgayCap, tblCrew.nNoiCap, 
                         tblAssignment.isActive, tblAssignment.dLeave, tblAssignment.dEmbarked, tblAssignment.nContract, tblAssignment.nRequest, tblAssignment.dModified, 
                         tblAssignment.dDuKienRoiTau, tblAssignment.dSanSangLenTau, tblAssignment.dCatHopDong, tblAssignment.dNghiHuu, tblAssignment.dKyHopDong, 
                         tblCrew.ContactPhuongXaID, tblCrew.ContactQuanHuyenId, tblCrew.ContactTinhThanh, tblCrew.PhuongXaID, tblCrew.QuanHuyenID, tblCrew.TinhThanhID
FROM            tblAssignment INNER JOIN
                         tblCrew ON tblAssignment.nCrewid = tblCrew.nCrewId INNER JOIN
                         tblRank ON tblCrew.nRankID = tblRank.nRankId
WHERE        (tblAssignment.isActive = 1)
ORDER BY tblRank.nRankLevel</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="iCrewType" DataSetColumn="iCrewType" />
              <Mapping SourceColumn="bImage" DataSetColumn="bImage" />
              <Mapping SourceColumn="cFamilyName" DataSetColumn="cFamilyName" />
              <Mapping SourceColumn="cMiddleName" DataSetColumn="cMiddleName" />
              <Mapping SourceColumn="cFirstName" DataSetColumn="cFirstName" />
              <Mapping SourceColumn="cAlias" DataSetColumn="cAlias" />
              <Mapping SourceColumn="dDateOfBirth" DataSetColumn="dDateOfBirth" />
              <Mapping SourceColumn="cAddress" DataSetColumn="cAddress" />
              <Mapping SourceColumn="cPlaceOfBirth" DataSetColumn="cPlaceOfBirth" />
              <Mapping SourceColumn="cHomeNo" DataSetColumn="cHomeNo" />
              <Mapping SourceColumn="cHandNo" DataSetColumn="cHandNo" />
              <Mapping SourceColumn="cEmail" DataSetColumn="cEmail" />
              <Mapping SourceColumn="cSex" DataSetColumn="cSex" />
              <Mapping SourceColumn="cMaritalStatus" DataSetColumn="cMaritalStatus" />
              <Mapping SourceColumn="cNationality" DataSetColumn="cNationality" />
              <Mapping SourceColumn="cContactPerson" DataSetColumn="cContactPerson" />
              <Mapping SourceColumn="cContactPersonAddress" DataSetColumn="cContactPersonAddress" />
              <Mapping SourceColumn="cContactPersonNo" DataSetColumn="cContactPersonNo" />
              <Mapping SourceColumn="cContactRelation" DataSetColumn="cContactRelation" />
              <Mapping SourceColumn="cContactEmail" DataSetColumn="cContactEmail" />
              <Mapping SourceColumn="fHeight" DataSetColumn="fHeight" />
              <Mapping SourceColumn="fWeight" DataSetColumn="fWeight" />
              <Mapping SourceColumn="cBloodGroup" DataSetColumn="cBloodGroup" />
              <Mapping SourceColumn="fShoeSizeVN" DataSetColumn="fShoeSizeVN" />
              <Mapping SourceColumn="fShoeSizeJP" DataSetColumn="fShoeSizeJP" />
              <Mapping SourceColumn="fOverallSizeVN" DataSetColumn="fOverallSizeVN" />
              <Mapping SourceColumn="cOverallSizeJP" DataSetColumn="cOverallSizeJP" />
              <Mapping SourceColumn="bDeleted" DataSetColumn="bDeleted" />
              <Mapping SourceColumn="cRankName" DataSetColumn="cRankName" />
              <Mapping SourceColumn="nRankID" DataSetColumn="nRankID" />
              <Mapping SourceColumn="cStatus" DataSetColumn="cStatus" />
              <Mapping SourceColumn="nVesselId" DataSetColumn="nVesselId" />
              <Mapping SourceColumn="nRankLevel" DataSetColumn="nRankLevel" />
              <Mapping SourceColumn="cCMT" DataSetColumn="cCMT" />
              <Mapping SourceColumn="dNgayCap" DataSetColumn="dNgayCap" />
              <Mapping SourceColumn="nNoiCap" DataSetColumn="nNoiCap" />
              <Mapping SourceColumn="isActive" DataSetColumn="isActive" />
              <Mapping SourceColumn="dLeave" DataSetColumn="dLeave" />
              <Mapping SourceColumn="dEmbarked" DataSetColumn="dEmbarked" />
              <Mapping SourceColumn="nContract" DataSetColumn="nContract" />
              <Mapping SourceColumn="nRequest" DataSetColumn="nRequest" />
              <Mapping SourceColumn="dModified" DataSetColumn="dModified" />
              <Mapping SourceColumn="dDuKienRoiTau" DataSetColumn="dDuKienRoiTau" />
              <Mapping SourceColumn="dSanSangLenTau" DataSetColumn="dSanSangLenTau" />
              <Mapping SourceColumn="dCatHopDong" DataSetColumn="dCatHopDong" />
              <Mapping SourceColumn="dNghiHuu" DataSetColumn="dNghiHuu" />
              <Mapping SourceColumn="dKyHopDong" DataSetColumn="dKyHopDong" />
              <Mapping SourceColumn="ContactPhuongXaID" DataSetColumn="ContactPhuongXaID" />
              <Mapping SourceColumn="ContactQuanHuyenId" DataSetColumn="ContactQuanHuyenId" />
              <Mapping SourceColumn="ContactTinhThanh" DataSetColumn="ContactTinhThanh" />
              <Mapping SourceColumn="PhuongXaID" DataSetColumn="PhuongXaID" />
              <Mapping SourceColumn="QuanHuyenID" DataSetColumn="QuanHuyenID" />
              <Mapping SourceColumn="TinhThanhID" DataSetColumn="TinhThanhID" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillForContract" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillForContract" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillForContract">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblRank.cRankName, tblCrew.nCrewId, tblCrew.nRankID, tblCrew.iCrewType, tblCrew.bImage, tblCrew.cFamilyName, tblCrew.cMiddleName, tblCrew.cFirstName, 
                         tblCrew.cAlias, tblCrew.dDateOfBirth, tblCrew.cAddress, tblCrew.cPlaceOfBirth, tblCrew.cHomeNo, tblCrew.cHandNo, tblCrew.cEmail, tblCrew.cSex, 
                         tblCrew.cMaritalStatus, tblCrew.cNationality, tblCrew.cContactPerson, tblCrew.cContactPersonAddress, tblCrew.cContactPersonNo, tblCrew.cContactRelation, 
                         tblCrew.cContactEmail, tblCrew.fHeight, tblCrew.fWeight, tblCrew.cBloodGroup, tblCrew.fShoeSizeVN, tblCrew.fShoeSizeJP, tblCrew.fOverallSizeVN, 
                         tblCrew.cOverallSizeJP, tblCrew.bDeleted, tblAssignment.cStatus, tblAssignment.nVesselId, tblRank.nRankLevel, tblCrew.cCMT, tblCrew.dNgayCap, tblCrew.nNoiCap, 
                         tblAssignment.isActive, tblAssignment.dLeave, tblAssignment.dEmbarked, tblAssignment.nContract, tblAssignment.nRequest, tblAssignment.dModified, 
                         tblAssignment.dDuKienRoiTau, tblAssignment.dSanSangLenTau, tblAssignment.dCatHopDong, tblAssignment.dNghiHuu, tblAssignment.dKyHopDong, 
                         tblCrew.ContactPhuongXaID, tblCrew.ContactQuanHuyenId, tblCrew.ContactTinhThanh, tblCrew.PhuongXaID, tblCrew.QuanHuyenID, tblCrew.TinhThanhID
FROM            tblAssignment INNER JOIN
                         tblCrew ON tblAssignment.nCrewid = tblCrew.nCrewId INNER JOIN
                         tblRank ON tblCrew.nRankID = tblRank.nRankId
WHERE        (tblAssignment.isActive = 1) and (tblAssignment.cStatus='On Vacation' or tblAssignment.cStatus='New Crew')
ORDER BY tblRank.nRankLevel</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblSchoolNameTableAdapter" GeneratorDataComponentClassName="tblSchoolNameTableAdapter" Name="tblSchoolName" UserDataComponentName="tblSchoolNameTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblSchoolName" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblSchoolName] WHERE (([id] = @Original_id) AND ((@IsNull_TenTruong = 1 AND [TenTruong] IS NULL) OR ([TenTruong] = @Original_TenTruong)) AND ((@IsNull_TenTiengAnh = 1 AND [TenTiengAnh] IS NULL) OR ([TenTiengAnh] = @Original_TenTiengAnh)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TenTruong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TenTruong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TenTiengAnh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TenTiengAnh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblSchoolName] ([TenTruong], [TenTiengAnh]) VALUES (@TenTruong, @TenTiengAnh);
SELECT id, TenTruong, TenTiengAnh FROM tblSchoolName WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TenTruong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TenTiengAnh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        id, TenTruong, TenTiengAnh
FROM            tblSchoolName</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblSchoolName] SET [TenTruong] = @TenTruong, [TenTiengAnh] = @TenTiengAnh WHERE (([id] = @Original_id) AND ((@IsNull_TenTruong = 1 AND [TenTruong] IS NULL) OR ([TenTruong] = @Original_TenTruong)) AND ((@IsNull_TenTiengAnh = 1 AND [TenTiengAnh] IS NULL) OR ([TenTiengAnh] = @Original_TenTiengAnh)));
SELECT id, TenTruong, TenTiengAnh FROM tblSchoolName WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TenTruong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TenTiengAnh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TenTruong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TenTruong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTruong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TenTiengAnh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TenTiengAnh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TenTiengAnh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="CrewManagment.dbo.tblSchoolName" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="TenTruong" DataSetColumn="TenTruong" />
              <Mapping SourceColumn="TenTiengAnh" DataSetColumn="TenTiengAnh" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblContractTableAdapter" GeneratorDataComponentClassName="tblContractTableAdapter" Name="tblContract" UserDataComponentName="tblContractTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblContract" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblContract] WHERE (([nContractId] = @Original_nContractId) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_nEmployerId = 1 AND [nEmployerId] IS NULL) OR ([nEmployerId] = @Original_nEmployerId)) AND ((@IsNull_nVesselId = 1 AND [nVesselId] IS NULL) OR ([nVesselId] = @Original_nVesselId)) AND ((@IsNull_dContractDate = 1 AND [dContractDate] IS NULL) OR ([dContractDate] = @Original_dContractDate)) AND ((@IsNull_PeriodOfEmployment = 1 AND [PeriodOfEmployment] IS NULL) OR ([PeriodOfEmployment] = @Original_PeriodOfEmployment)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nContractId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nContractId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dContractDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dContractDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PeriodOfEmployment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PeriodOfEmployment" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblContract] ([nCrewId], [nEmployerId], [nVesselId], [dContractDate], [PeriodOfEmployment]) VALUES (@nCrewId, @nEmployerId, @nVesselId, @dContractDate, @PeriodOfEmployment);
SELECT nContractId, nCrewId, nEmployerId, nVesselId, dContractDate, PeriodOfEmployment FROM tblContract WHERE (nContractId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dContractDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PeriodOfEmployment" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT nContractId, nCrewId, nEmployerId, nVesselId, dContractDate, PeriodOfEmployment FROM dbo.tblContract</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblContract] SET [nCrewId] = @nCrewId, [nEmployerId] = @nEmployerId, [nVesselId] = @nVesselId, [dContractDate] = @dContractDate, [PeriodOfEmployment] = @PeriodOfEmployment WHERE (([nContractId] = @Original_nContractId) AND ((@IsNull_nCrewId = 1 AND [nCrewId] IS NULL) OR ([nCrewId] = @Original_nCrewId)) AND ((@IsNull_nEmployerId = 1 AND [nEmployerId] IS NULL) OR ([nEmployerId] = @Original_nEmployerId)) AND ((@IsNull_nVesselId = 1 AND [nVesselId] IS NULL) OR ([nVesselId] = @Original_nVesselId)) AND ((@IsNull_dContractDate = 1 AND [dContractDate] IS NULL) OR ([dContractDate] = @Original_dContractDate)) AND ((@IsNull_PeriodOfEmployment = 1 AND [PeriodOfEmployment] IS NULL) OR ([PeriodOfEmployment] = @Original_PeriodOfEmployment)));
SELECT nContractId, nCrewId, nEmployerId, nVesselId, dContractDate, PeriodOfEmployment FROM tblContract WHERE (nContractId = @nContractId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dContractDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PeriodOfEmployment" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nContractId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nContractId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nCrewId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nCrewId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nCrewId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nEmployerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nEmployerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nVesselId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nVesselId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dContractDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dContractDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dContractDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PeriodOfEmployment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PeriodOfEmployment" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PeriodOfEmployment" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nContractId" ColumnName="nContractId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nContractId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nContractId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="nContractId" DataSetColumn="nContractId" />
              <Mapping SourceColumn="nCrewId" DataSetColumn="nCrewId" />
              <Mapping SourceColumn="nEmployerId" DataSetColumn="nEmployerId" />
              <Mapping SourceColumn="nVesselId" DataSetColumn="nVesselId" />
              <Mapping SourceColumn="dContractDate" DataSetColumn="dContractDate" />
              <Mapping SourceColumn="PeriodOfEmployment" DataSetColumn="PeriodOfEmployment" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblNextIDTableAdapter" GeneratorDataComponentClassName="tblNextIDTableAdapter" Name="tblNextID" UserDataComponentName="tblNextIDTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblNextID" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblNextID] WHERE (([NextID] = @Original_NextID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NextID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NextID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblNextID] ([NextID]) VALUES (@NextID);
SELECT NextID FROM tblNextID WHERE (NextID = @NextID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NextID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NextID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblNextID.*
FROM            tblNextID</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblNextID] SET [NextID] = @NextID WHERE (([NextID] = @Original_NextID));
SELECT NextID FROM tblNextID WHERE (NextID = @NextID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NextID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NextID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NextID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NextID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NextID" DataSetColumn="NextID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblAccountCrewTableAdapter" GeneratorDataComponentClassName="tblAccountCrewTableAdapter" Name="tblAccountCrew" UserDataComponentName="tblAccountCrewTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblAccountCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblAccountCrew] WHERE (([ID] = @Original_ID) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_Số_BHXH = 1 AND [Số BHXH] IS NULL) OR ([Số BHXH] = @Original_Số_BHXH)) AND ((@IsNull_Mã_số_thuế = 1 AND [Mã số thuế] IS NULL) OR ([Mã số thuế] = @Original_Mã_số_thuế)) AND ((@IsNull_Số_TK_Ngân_hàng = 1 AND [Số TK Ngân hàng] IS NULL) OR ([Số TK Ngân hàng] = @Original_Số_TK_Ngân_hàng)) AND ((@IsNull_Ngân_hàng = 1 AND [Ngân hàng] IS NULL) OR ([Ngân hàng] = @Original_Ngân_hàng)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_BHXH" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_BHXH" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mã_số_thuế" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mã_số_thuế" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_TK_Ngân_hàng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_TK_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngân_hàng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblAccountCrew] ([CrewID], [Số BHXH], [Mã số thuế], [Số TK Ngân hàng], [Ngân hàng]) VALUES (@CrewID, @Số_BHXH, @Mã_số_thuế, @Số_TK_Ngân_hàng, @Ngân_hàng);
SELECT ID, CrewID, [Số BHXH], [Mã số thuế], [Số TK Ngân hàng], [Ngân hàng] FROM tblAccountCrew WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_BHXH" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mã_số_thuế" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_TK_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ID, CrewID, [Số BHXH], [Mã số thuế], [Số TK Ngân hàng], [Ngân hàng] FROM tblAccountCrew</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblAccountCrew] SET [CrewID] = @CrewID, [Số BHXH] = @Số_BHXH, [Mã số thuế] = @Mã_số_thuế, [Số TK Ngân hàng] = @Số_TK_Ngân_hàng, [Ngân hàng] = @Ngân_hàng WHERE (([ID] = @Original_ID) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_Số_BHXH = 1 AND [Số BHXH] IS NULL) OR ([Số BHXH] = @Original_Số_BHXH)) AND ((@IsNull_Mã_số_thuế = 1 AND [Mã số thuế] IS NULL) OR ([Mã số thuế] = @Original_Mã_số_thuế)) AND ((@IsNull_Số_TK_Ngân_hàng = 1 AND [Số TK Ngân hàng] IS NULL) OR ([Số TK Ngân hàng] = @Original_Số_TK_Ngân_hàng)) AND ((@IsNull_Ngân_hàng = 1 AND [Ngân hàng] IS NULL) OR ([Ngân hàng] = @Original_Ngân_hàng)));
SELECT ID, CrewID, [Số BHXH], [Mã số thuế], [Số TK Ngân hàng], [Ngân hàng] FROM tblAccountCrew WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_BHXH" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mã_số_thuế" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_TK_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_BHXH" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_BHXH" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số BHXH" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mã_số_thuế" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mã_số_thuế" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mã số thuế" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_TK_Ngân_hàng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_TK_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngân_hàng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ngân_hàng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="CrewManagment.dbo.tblAccountCrew" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="CrewID" DataSetColumn="CrewID" />
              <Mapping SourceColumn="Số BHXH" DataSetColumn="Số BHXH" />
              <Mapping SourceColumn="Mã số thuế" DataSetColumn="Mã số thuế" />
              <Mapping SourceColumn="Số TK Ngân hàng" DataSetColumn="Số TK Ngân hàng" />
              <Mapping SourceColumn="Ngân hàng" DataSetColumn="Ngân hàng" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblAccountCrew" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="CheckBHXH" GetMethodModifier="Public" GetMethodName="CheckBHXH" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="CheckBHXH" UserSourceName="CheckBHXH">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID
FROM            tblAccountCrew
WHERE        ([Số BHXH] = @bhxh)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="bhxh" ColumnName="Số BHXH" DataSourceName="CrewManagment.dbo.tblAccountCrew" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@bhxh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Số BHXH" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblAccountCrew" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="CheckMST" GetMethodModifier="Public" GetMethodName="CheckMST" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="CheckMST" UserSourceName="CheckMST">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID
FROM            tblAccountCrew
WHERE        ([Mã số thuế] = @MST)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="MST" ColumnName="Mã số thuế" DataSourceName="CrewManagment.dbo.tblAccountCrew" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@MST" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Mã số thuế" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblAccountCrew" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="CheckTK" GetMethodModifier="Public" GetMethodName="CheckTK" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="CheckTK" UserSourceName="CheckTK">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID
FROM            tblAccountCrew
WHERE        ([Số TK Ngân hàng] = @TK)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="TK" ColumnName="Số TK Ngân hàng" DataSourceName="CrewManagment.dbo.tblAccountCrew" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@TK" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Số TK Ngân hàng" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblAccountCrew" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT CrewID, ID, [Mã số thuế], [Ngân hàng], [Số BHXH], [Số TK Ngân hàng] FROM tblAccountCrew WHERE (CrewID = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="id" ColumnName="CrewID" DataSourceName="CrewManagment.dbo.tblAccountCrew" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblQuanHeTableAdapter" GeneratorDataComponentClassName="tblQuanHeTableAdapter" Name="tblQuanHe" UserDataComponentName="tblQuanHeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblQuanHe" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblQuanHe] WHERE (([id] = @Original_id) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_Tên = 1 AND [Tên] IS NULL) OR ([Tên] = @Original_Tên)) AND ((@IsNull_Quan_hệ = 1 AND [Quan hệ] IS NULL) OR ([Quan hệ] = @Original_Quan_hệ)) AND ((@IsNull_Bắt_đầu = 1 AND [Bắt đầu] IS NULL) OR ([Bắt đầu] = @Original_Bắt_đầu)) AND ((@IsNull_Kết_thúc = 1 AND [Kết thúc] IS NULL) OR ([Kết thúc] = @Original_Kết_thúc)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tên" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tên" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quan_hệ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Quan_hệ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Bắt_đầu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Bắt_đầu" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Kết_thúc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Kết_thúc" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblQuanHe] ([CrewID], [Tên], [Quan hệ], [Bắt đầu], [Kết thúc], [Ghi chú]) VALUES (@CrewID, @Tên, @Quan_hệ, @Bắt_đầu, @Kết_thúc, @Ghi_chú);
SELECT id, CrewID, Tên, [Quan hệ], [Bắt đầu], [Kết thúc], [Ghi chú] FROM tblQuanHe WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tên" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Quan_hệ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Bắt_đầu" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Kết_thúc" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        id, CrewID, Tên, [Quan hệ], [Bắt đầu], [Kết thúc], [Ghi chú]
FROM            tblQuanHe</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblQuanHe] SET [CrewID] = @CrewID, [Tên] = @Tên, [Quan hệ] = @Quan_hệ, [Bắt đầu] = @Bắt_đầu, [Kết thúc] = @Kết_thúc, [Ghi chú] = @Ghi_chú WHERE (([id] = @Original_id) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_Tên = 1 AND [Tên] IS NULL) OR ([Tên] = @Original_Tên)) AND ((@IsNull_Quan_hệ = 1 AND [Quan hệ] IS NULL) OR ([Quan hệ] = @Original_Quan_hệ)) AND ((@IsNull_Bắt_đầu = 1 AND [Bắt đầu] IS NULL) OR ([Bắt đầu] = @Original_Bắt_đầu)) AND ((@IsNull_Kết_thúc = 1 AND [Kết thúc] IS NULL) OR ([Kết thúc] = @Original_Kết_thúc)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)));
SELECT id, CrewID, Tên, [Quan hệ], [Bắt đầu], [Kết thúc], [Ghi chú] FROM tblQuanHe WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tên" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Quan_hệ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Bắt_đầu" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Kết_thúc" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tên" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tên" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quan_hệ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Quan_hệ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Quan hệ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Bắt_đầu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Bắt_đầu" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Bắt đầu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Kết_thúc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Kết_thúc" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Kết thúc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="CrewManagment.dbo.tblQuanHe" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="CrewID" DataSetColumn="CrewID" />
              <Mapping SourceColumn="Tên" DataSetColumn="Tên" />
              <Mapping SourceColumn="Quan hệ" DataSetColumn="Quan hệ" />
              <Mapping SourceColumn="Bắt đầu" DataSetColumn="Bắt đầu" />
              <Mapping SourceColumn="Kết thúc" DataSetColumn="Kết thúc" />
              <Mapping SourceColumn="Ghi chú" DataSetColumn="Ghi chú" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblQuanHe" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [Bắt đầu], CrewID, [Ghi chú], [Kết thúc], [Quan hệ], Tên, id FROM tblQuanHe WHERE (CrewID = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="id" ColumnName="CrewID" DataSourceName="CrewManagment.dbo.tblQuanHe" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblHDLDTableAdapter" GeneratorDataComponentClassName="tblHDLDTableAdapter" Name="tblHDLD" UserDataComponentName="tblHDLDTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblHDLD" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tblHDLD] WHERE (([ID] = @Original_ID) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_LoaiHDLD = 1 AND [LoaiHDLD] IS NULL) OR ([LoaiHDLD] = @Original_LoaiHDLD)) AND ((@IsNull_Số_HĐLĐ = 1 AND [Số HĐLĐ] IS NULL) OR ([Số HĐLĐ] = @Original_Số_HĐLĐ)) AND ((@IsNull_Ngày_ký = 1 AND [Ngày ký] IS NULL) OR ([Ngày ký] = @Original_Ngày_ký)) AND ((@IsNull_Thời_hạn = 1 AND [Thời hạn] IS NULL) OR ([Thời hạn] = @Original_Thời_hạn)) AND ((@IsNull_Ngày_hết_hạn = 1 AND [Ngày hết hạn] IS NULL) OR ([Ngày hết hạn] = @Original_Ngày_hết_hạn)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_HĐLĐ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_HĐLĐ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngày_ký" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Ngày_ký" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Thời_hạn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Thời_hạn" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngày_hết_hạn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Ngày_hết_hạn" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tblHDLD] ([CrewID], [LoaiHDLD], [Số HĐLĐ], [Ngày ký], [Thời hạn], [Ngày hết hạn], [Ghi chú]) VALUES (@CrewID, @LoaiHDLD, @Số_HĐLĐ, @Ngày_ký, @Thời_hạn, @Ngày_hết_hạn, @Ghi_chú);
SELECT ID, CrewID, LoaiHDLD, [Số HĐLĐ], [Ngày ký], [Thời hạn], [Ngày hết hạn], [Ghi chú] FROM tblHDLD WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_HĐLĐ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Ngày_ký" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Thời_hạn" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Ngày_hết_hạn" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID, CrewID, LoaiHDLD, [Số HĐLĐ], [Ngày ký], [Thời hạn], [Ngày hết hạn], [Ghi chú]
FROM            tblHDLD</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tblHDLD] SET [CrewID] = @CrewID, [LoaiHDLD] = @LoaiHDLD, [Số HĐLĐ] = @Số_HĐLĐ, [Ngày ký] = @Ngày_ký, [Thời hạn] = @Thời_hạn, [Ngày hết hạn] = @Ngày_hết_hạn, [Ghi chú] = @Ghi_chú WHERE (([ID] = @Original_ID) AND ((@IsNull_CrewID = 1 AND [CrewID] IS NULL) OR ([CrewID] = @Original_CrewID)) AND ((@IsNull_LoaiHDLD = 1 AND [LoaiHDLD] IS NULL) OR ([LoaiHDLD] = @Original_LoaiHDLD)) AND ((@IsNull_Số_HĐLĐ = 1 AND [Số HĐLĐ] IS NULL) OR ([Số HĐLĐ] = @Original_Số_HĐLĐ)) AND ((@IsNull_Ngày_ký = 1 AND [Ngày ký] IS NULL) OR ([Ngày ký] = @Original_Ngày_ký)) AND ((@IsNull_Thời_hạn = 1 AND [Thời hạn] IS NULL) OR ([Thời hạn] = @Original_Thời_hạn)) AND ((@IsNull_Ngày_hết_hạn = 1 AND [Ngày hết hạn] IS NULL) OR ([Ngày hết hạn] = @Original_Ngày_hết_hạn)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)));
SELECT ID, CrewID, LoaiHDLD, [Số HĐLĐ], [Ngày ký], [Thời hạn], [Ngày hết hạn], [Ghi chú] FROM tblHDLD WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Số_HĐLĐ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Ngày_ký" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Thời_hạn" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Ngày_hết_hạn" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CrewID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CrewID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LoaiHDLD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoaiHDLD" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Số_HĐLĐ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Số_HĐLĐ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Số HĐLĐ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngày_ký" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Ngày_ký" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày ký" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Thời_hạn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Thời_hạn" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Thời hạn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ngày_hết_hạn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Ngày_hết_hạn" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Ngày hết hạn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="CrewManagment.dbo.tblHDLD" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="CrewID" DataSetColumn="CrewID" />
              <Mapping SourceColumn="LoaiHDLD" DataSetColumn="LoaiHDLD" />
              <Mapping SourceColumn="Số HĐLĐ" DataSetColumn="Số HĐLĐ" />
              <Mapping SourceColumn="Ngày ký" DataSetColumn="Ngày ký" />
              <Mapping SourceColumn="Thời hạn" DataSetColumn="Thời hạn" />
              <Mapping SourceColumn="Ngày hết hạn" DataSetColumn="Ngày hết hạn" />
              <Mapping SourceColumn="Ghi chú" DataSetColumn="Ghi chú" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblHDLD" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCrewID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillByCrewID" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByCrewID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT CrewID, [Ghi chú], ID, LoaiHDLD, [Ngày hết hạn], [Ngày ký], [Số HĐLĐ], [Thời hạn] FROM tblHDLD WHERE (CrewID = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="id" ColumnName="CrewID" DataSourceName="CrewManagment.dbo.tblHDLD" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="CrewID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblLoaiHDTableAdapter" GeneratorDataComponentClassName="tblLoaiHDTableAdapter" Name="tblLoaiHD" UserDataComponentName="tblLoaiHDTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.tblLoaiHD" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[tblLoaiHD] WHERE (([id] = @Original_id) AND ((@IsNull_Tên_loại_hợp_đồng = 1 AND [Tên loại hợp đồng] IS NULL) OR ([Tên loại hợp đồng] = @Original_Tên_loại_hợp_đồng)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tên_loại_hợp_đồng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tên_loại_hợp_đồng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[tblLoaiHD] ([Tên loại hợp đồng], [Ghi chú]) VALUES (@Tên_loại_hợp_đồng, @Ghi_chú);
SELECT id, [Tên loại hợp đồng], [Ghi chú] FROM tblLoaiHD WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tên_loại_hợp_đồng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT id, [Tên loại hợp đồng], [Ghi chú] FROM dbo.tblLoaiHD</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[tblLoaiHD] SET [Tên loại hợp đồng] = @Tên_loại_hợp_đồng, [Ghi chú] = @Ghi_chú WHERE (([id] = @Original_id) AND ((@IsNull_Tên_loại_hợp_đồng = 1 AND [Tên loại hợp đồng] IS NULL) OR ([Tên loại hợp đồng] = @Original_Tên_loại_hợp_đồng)) AND ((@IsNull_Ghi_chú = 1 AND [Ghi chú] IS NULL) OR ([Ghi chú] = @Original_Ghi_chú)));
SELECT id, [Tên loại hợp đồng], [Ghi chú] FROM tblLoaiHD WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tên_loại_hợp_đồng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Tên_loại_hợp_đồng" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tên_loại_hợp_đồng" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tên loại hợp đồng" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ghi_chú" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Ghi_chú" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ghi chú" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="Tên loại hợp đồng" DataSetColumn="Tên loại hợp đồng" />
              <Mapping SourceColumn="Ghi chú" DataSetColumn="Ghi chú" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsCrew" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsCrew" msprop:Generator_UserDSName="dsCrew">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tblImmigrationCrew" msprop:Generator_TableClassName="tblImmigrationCrewDataTable" msprop:Generator_TableVarName="tabletblImmigrationCrew" msprop:Generator_TablePropName="tblImmigrationCrew" msprop:Generator_RowDeletingName="tblImmigrationCrewRowDeleting" msprop:Generator_UserTableName="tblImmigrationCrew" msprop:Generator_RowChangingName="tblImmigrationCrewRowChanging" msprop:Generator_RowEvHandlerName="tblImmigrationCrewRowChangeEventHandler" msprop:Generator_RowDeletedName="tblImmigrationCrewRowDeleted" msprop:Generator_RowEvArgName="tblImmigrationCrewRowChangeEvent" msprop:Generator_RowChangedName="tblImmigrationCrewRowChanged" msprop:Generator_RowClassName="tblImmigrationCrewRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nImmigrationCrewId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnImmigrationCrewId" msprop:Generator_ColumnPropNameInRow="nImmigrationCrewId" msprop:Generator_ColumnPropNameInTable="nImmigrationCrewIdColumn" msprop:Generator_UserColumnName="nImmigrationCrewId" type="xs:int" />
              <xs:element name="nImmigrationId" msprop:Generator_ColumnVarNameInTable="columnnImmigrationId" msprop:Generator_ColumnPropNameInRow="nImmigrationId" msprop:Generator_ColumnPropNameInTable="nImmigrationIdColumn" msprop:Generator_UserColumnName="nImmigrationId" type="xs:int" minOccurs="0" />
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId" type="xs:string" minOccurs="0" />
              <xs:element name="cIssuedBy" msprop:Generator_ColumnVarNameInTable="columncIssuedBy" msprop:Generator_ColumnPropNameInRow="cIssuedBy" msprop:Generator_ColumnPropNameInTable="cIssuedByColumn" msprop:Generator_UserColumnName="cIssuedBy" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cNumber" msprop:Generator_ColumnVarNameInTable="columncNumber" msprop:Generator_ColumnPropNameInRow="cNumber" msprop:Generator_ColumnPropNameInTable="cNumberColumn" msprop:Generator_UserColumnName="cNumber" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dDateOfIssued" msprop:Generator_ColumnVarNameInTable="columndDateOfIssued" msprop:Generator_ColumnPropNameInRow="dDateOfIssued" msprop:Generator_ColumnPropNameInTable="dDateOfIssuedColumn" msprop:Generator_UserColumnName="dDateOfIssued" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dDateOfExpiry" msprop:Generator_ColumnVarNameInTable="columndDateOfExpiry" msprop:Generator_ColumnPropNameInRow="dDateOfExpiry" msprop:Generator_ColumnPropNameInTable="dDateOfExpiryColumn" msprop:Generator_UserColumnName="dDateOfExpiry" type="xs:dateTime" minOccurs="0" />
              <xs:element name="bScanDoc" msprop:Generator_ColumnVarNameInTable="columnbScanDoc" msprop:Generator_ColumnPropNameInRow="bScanDoc" msprop:Generator_ColumnPropNameInTable="bScanDocColumn" msprop:Generator_UserColumnName="bScanDoc" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cExt" msprop:Generator_ColumnVarNameInTable="columncExt" msprop:Generator_ColumnPropNameInRow="cExt" msprop:Generator_ColumnPropNameInTable="cExtColumn" msprop:Generator_UserColumnName="cExt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nFileName" msprop:Generator_ColumnVarNameInTable="columnnFileName" msprop:Generator_ColumnPropNameInRow="nFileName" msprop:Generator_ColumnPropNameInTable="nFileNameColumn" msprop:Generator_UserColumnName="nFileName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblImmigrationDoc" msprop:Generator_TableClassName="tblImmigrationDocDataTable" msprop:Generator_TableVarName="tabletblImmigrationDoc" msprop:Generator_TablePropName="tblImmigrationDoc" msprop:Generator_RowDeletingName="tblImmigrationDocRowDeleting" msprop:Generator_UserTableName="tblImmigrationDoc" msprop:Generator_RowChangingName="tblImmigrationDocRowChanging" msprop:Generator_RowEvHandlerName="tblImmigrationDocRowChangeEventHandler" msprop:Generator_RowDeletedName="tblImmigrationDocRowDeleted" msprop:Generator_RowEvArgName="tblImmigrationDocRowChangeEvent" msprop:Generator_RowChangedName="tblImmigrationDocRowChanged" msprop:Generator_RowClassName="tblImmigrationDocRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nImmigrationId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnImmigrationId" msprop:Generator_ColumnPropNameInRow="nImmigrationId" msprop:Generator_ColumnPropNameInTable="nImmigrationIdColumn" msprop:Generator_UserColumnName="nImmigrationId" type="xs:int" />
              <xs:element name="cDocName" msprop:Generator_ColumnVarNameInTable="columncDocName" msprop:Generator_ColumnPropNameInRow="cDocName" msprop:Generator_ColumnPropNameInTable="cDocNameColumn" msprop:Generator_UserColumnName="cDocName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cDocDescription" msprop:Generator_ColumnVarNameInTable="columncDocDescription" msprop:Generator_ColumnPropNameInRow="cDocDescription" msprop:Generator_ColumnPropNameInTable="cDocDescriptionColumn" msprop:Generator_UserColumnName="cDocDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblEducation" msprop:Generator_TableClassName="tblEducationDataTable" msprop:Generator_TableVarName="tabletblEducation" msprop:Generator_TablePropName="tblEducation" msprop:Generator_RowDeletingName="tblEducationRowDeleting" msprop:Generator_UserTableName="tblEducation" msprop:Generator_RowChangingName="tblEducationRowChanging" msprop:Generator_RowEvHandlerName="tblEducationRowChangeEventHandler" msprop:Generator_RowDeletedName="tblEducationRowDeleted" msprop:Generator_RowEvArgName="tblEducationRowChangeEvent" msprop:Generator_RowChangedName="tblEducationRowChanged" msprop:Generator_RowClassName="tblEducationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nEducationId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnEducationId" msprop:Generator_ColumnPropNameInRow="nEducationId" msprop:Generator_ColumnPropNameInTable="nEducationIdColumn" msprop:Generator_UserColumnName="nEducationId" type="xs:int" />
              <xs:element name="nEducationType" msprop:Generator_ColumnVarNameInTable="columnnEducationType" msprop:Generator_ColumnPropNameInRow="nEducationType" msprop:Generator_ColumnPropNameInTable="nEducationTypeColumn" msprop:Generator_UserColumnName="nEducationType" type="xs:int" minOccurs="0" />
              <xs:element name="nCource" msprop:Generator_ColumnVarNameInTable="columnnCource" msprop:Generator_ColumnPropNameInRow="nCource" msprop:Generator_ColumnPropNameInTable="nCourceColumn" msprop:Generator_UserColumnName="nCource" type="xs:int" minOccurs="0" />
              <xs:element name="cCrewID" msprop:Generator_ColumnVarNameInTable="columncCrewID" msprop:Generator_ColumnPropNameInRow="cCrewID" msprop:Generator_ColumnPropNameInTable="cCrewIDColumn" msprop:Generator_UserColumnName="cCrewID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cFinishYear" msprop:Generator_ColumnVarNameInTable="columncFinishYear" msprop:Generator_ColumnPropNameInRow="cFinishYear" msprop:Generator_ColumnPropNameInTable="cFinishYearColumn" msprop:Generator_UserColumnName="cFinishYear" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dPeriod" msprop:Generator_ColumnVarNameInTable="columndPeriod" msprop:Generator_ColumnPropNameInRow="dPeriod" msprop:Generator_ColumnPropNameInTable="dPeriodColumn" msprop:Generator_UserColumnName="dPeriod" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cSchoolName" msprop:Generator_ColumnVarNameInTable="columncSchoolName" msprop:Generator_ColumnPropNameInRow="cSchoolName" msprop:Generator_ColumnPropNameInTable="cSchoolNameColumn" msprop:Generator_UserColumnName="cSchoolName" type="xs:int" minOccurs="0" />
              <xs:element name="bScanDoc" msprop:Generator_ColumnVarNameInTable="columnbScanDoc" msprop:Generator_ColumnPropNameInRow="bScanDoc" msprop:Generator_ColumnPropNameInTable="bScanDocColumn" msprop:Generator_UserColumnName="bScanDoc" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cExt" msprop:Generator_ColumnVarNameInTable="columncExt" msprop:Generator_ColumnPropNameInRow="cExt" msprop:Generator_ColumnPropNameInTable="cExtColumn" msprop:Generator_UserColumnName="cExt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nFileName" msprop:Generator_ColumnVarNameInTable="columnnFileName" msprop:Generator_ColumnPropNameInRow="nFileName" msprop:Generator_ColumnPropNameInTable="nFileNameColumn" msprop:Generator_UserColumnName="nFileName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="isCurrent" msprop:Generator_ColumnVarNameInTable="columnisCurrent" msprop:Generator_ColumnPropNameInRow="isCurrent" msprop:Generator_ColumnPropNameInTable="isCurrentColumn" msprop:Generator_UserColumnName="isCurrent" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblEducationType" msprop:Generator_TableClassName="tblEducationTypeDataTable" msprop:Generator_TableVarName="tabletblEducationType" msprop:Generator_TablePropName="tblEducationType" msprop:Generator_RowDeletingName="tblEducationTypeRowDeleting" msprop:Generator_UserTableName="tblEducationType" msprop:Generator_RowChangingName="tblEducationTypeRowChanging" msprop:Generator_RowEvHandlerName="tblEducationTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="tblEducationTypeRowDeleted" msprop:Generator_RowEvArgName="tblEducationTypeRowChangeEvent" msprop:Generator_RowChangedName="tblEducationTypeRowChanged" msprop:Generator_RowClassName="tblEducationTypeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nEducationType" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnEducationType" msprop:Generator_ColumnPropNameInRow="nEducationType" msprop:Generator_ColumnPropNameInTable="nEducationTypeColumn" msprop:Generator_UserColumnName="nEducationType" type="xs:int" />
              <xs:element name="cTypeName" msprop:Generator_ColumnVarNameInTable="columncTypeName" msprop:Generator_ColumnPropNameInRow="cTypeName" msprop:Generator_ColumnPropNameInTable="cTypeNameColumn" msprop:Generator_UserColumnName="cTypeName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cDescription" msprop:Generator_ColumnVarNameInTable="columncDescription" msprop:Generator_ColumnPropNameInRow="cDescription" msprop:Generator_ColumnPropNameInTable="cDescriptionColumn" msprop:Generator_UserColumnName="cDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblCrewType" msprop:Generator_TableClassName="tblCrewTypeDataTable" msprop:Generator_TableVarName="tabletblCrewType" msprop:Generator_TablePropName="tblCrewType" msprop:Generator_RowDeletingName="tblCrewTypeRowDeleting" msprop:Generator_UserTableName="tblCrewType" msprop:Generator_RowChangingName="tblCrewTypeRowChanging" msprop:Generator_RowEvHandlerName="tblCrewTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="tblCrewTypeRowDeleted" msprop:Generator_RowEvArgName="tblCrewTypeRowChangeEvent" msprop:Generator_RowChangedName="tblCrewTypeRowChanged" msprop:Generator_RowClassName="tblCrewTypeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="cTypeName" msprop:Generator_ColumnVarNameInTable="columncTypeName" msprop:Generator_ColumnPropNameInRow="cTypeName" msprop:Generator_ColumnPropNameInTable="cTypeNameColumn" msprop:Generator_UserColumnName="cTypeName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Prefix" msprop:Generator_ColumnVarNameInTable="columnPrefix" msprop:Generator_ColumnPropNameInRow="Prefix" msprop:Generator_ColumnPropNameInTable="PrefixColumn" msprop:Generator_UserColumnName="Prefix" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblCrew" msprop:Generator_TableClassName="tblCrewDataTable" msprop:Generator_TableVarName="tabletblCrew" msprop:Generator_TablePropName="tblCrew" msprop:Generator_RowDeletingName="tblCrewRowDeleting" msprop:Generator_UserTableName="tblCrew" msprop:Generator_RowChangingName="tblCrewRowChanging" msprop:Generator_RowEvHandlerName="tblCrewRowChangeEventHandler" msprop:Generator_RowDeletedName="tblCrewRowDeleted" msprop:Generator_RowEvArgName="tblCrewRowChangeEvent" msprop:Generator_RowChangedName="tblCrewRowChanged" msprop:Generator_RowClassName="tblCrewRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="iCrewType" msprop:Generator_ColumnVarNameInTable="columniCrewType" msprop:Generator_ColumnPropNameInRow="iCrewType" msprop:Generator_ColumnPropNameInTable="iCrewTypeColumn" msprop:Generator_UserColumnName="iCrewType" type="xs:int" minOccurs="0" />
              <xs:element name="bImage" msprop:Generator_ColumnVarNameInTable="columnbImage" msprop:Generator_ColumnPropNameInRow="bImage" msprop:Generator_ColumnPropNameInTable="bImageColumn" msprop:Generator_UserColumnName="bImage" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cFamilyName" msprop:Generator_ColumnVarNameInTable="columncFamilyName" msprop:Generator_ColumnPropNameInRow="cFamilyName" msprop:Generator_ColumnPropNameInTable="cFamilyNameColumn" msprop:Generator_UserColumnName="cFamilyName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cMiddleName" msprop:Generator_ColumnVarNameInTable="columncMiddleName" msprop:Generator_ColumnPropNameInRow="cMiddleName" msprop:Generator_ColumnPropNameInTable="cMiddleNameColumn" msprop:Generator_UserColumnName="cMiddleName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cFirstName" msprop:Generator_ColumnVarNameInTable="columncFirstName" msprop:Generator_ColumnPropNameInRow="cFirstName" msprop:Generator_ColumnPropNameInTable="cFirstNameColumn" msprop:Generator_UserColumnName="cFirstName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cAlias" msprop:Generator_ColumnVarNameInTable="columncAlias" msprop:Generator_ColumnPropNameInRow="cAlias" msprop:Generator_ColumnPropNameInTable="cAliasColumn" msprop:Generator_UserColumnName="cAlias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dDateOfBirth" msprop:Generator_ColumnVarNameInTable="columndDateOfBirth" msprop:Generator_ColumnPropNameInRow="dDateOfBirth" msprop:Generator_ColumnPropNameInTable="dDateOfBirthColumn" msprop:Generator_UserColumnName="dDateOfBirth" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cAddress" msprop:Generator_ColumnVarNameInTable="columncAddress" msprop:Generator_ColumnPropNameInRow="cAddress" msprop:Generator_ColumnPropNameInTable="cAddressColumn" msprop:Generator_UserColumnName="cAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cPlaceOfBirth" msprop:Generator_ColumnVarNameInTable="columncPlaceOfBirth" msprop:Generator_ColumnPropNameInRow="cPlaceOfBirth" msprop:Generator_ColumnPropNameInTable="cPlaceOfBirthColumn" msprop:Generator_UserColumnName="cPlaceOfBirth" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cHomeNo" msprop:Generator_ColumnVarNameInTable="columncHomeNo" msprop:Generator_ColumnPropNameInRow="cHomeNo" msprop:Generator_ColumnPropNameInTable="cHomeNoColumn" msprop:Generator_UserColumnName="cHomeNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cHandNo" msprop:Generator_ColumnVarNameInTable="columncHandNo" msprop:Generator_ColumnPropNameInRow="cHandNo" msprop:Generator_ColumnPropNameInTable="cHandNoColumn" msprop:Generator_UserColumnName="cHandNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cEmail" msprop:Generator_ColumnVarNameInTable="columncEmail" msprop:Generator_ColumnPropNameInRow="cEmail" msprop:Generator_ColumnPropNameInTable="cEmailColumn" msprop:Generator_UserColumnName="cEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cMaritalStatus" msprop:Generator_ColumnVarNameInTable="columncMaritalStatus" msprop:Generator_ColumnPropNameInRow="cMaritalStatus" msprop:Generator_ColumnPropNameInTable="cMaritalStatusColumn" msprop:Generator_UserColumnName="cMaritalStatus" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cNationality" msprop:Generator_ColumnVarNameInTable="columncNationality" msprop:Generator_ColumnPropNameInRow="cNationality" msprop:Generator_ColumnPropNameInTable="cNationalityColumn" msprop:Generator_UserColumnName="cNationality" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPerson" msprop:Generator_ColumnVarNameInTable="columncContactPerson" msprop:Generator_ColumnPropNameInRow="cContactPerson" msprop:Generator_ColumnPropNameInTable="cContactPersonColumn" msprop:Generator_UserColumnName="cContactPerson" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPersonAddress" msprop:Generator_ColumnVarNameInTable="columncContactPersonAddress" msprop:Generator_ColumnPropNameInRow="cContactPersonAddress" msprop:Generator_ColumnPropNameInTable="cContactPersonAddressColumn" msprop:Generator_UserColumnName="cContactPersonAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPersonNo" msprop:Generator_ColumnVarNameInTable="columncContactPersonNo" msprop:Generator_ColumnPropNameInRow="cContactPersonNo" msprop:Generator_ColumnPropNameInTable="cContactPersonNoColumn" msprop:Generator_UserColumnName="cContactPersonNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactRelation" msprop:Generator_ColumnVarNameInTable="columncContactRelation" msprop:Generator_ColumnPropNameInRow="cContactRelation" msprop:Generator_ColumnPropNameInTable="cContactRelationColumn" msprop:Generator_UserColumnName="cContactRelation" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactEmail" msprop:Generator_ColumnVarNameInTable="columncContactEmail" msprop:Generator_ColumnPropNameInRow="cContactEmail" msprop:Generator_ColumnPropNameInTable="cContactEmailColumn" msprop:Generator_UserColumnName="cContactEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fHeight" msprop:Generator_ColumnVarNameInTable="columnfHeight" msprop:Generator_ColumnPropNameInRow="fHeight" msprop:Generator_ColumnPropNameInTable="fHeightColumn" msprop:Generator_UserColumnName="fHeight" type="xs:double" minOccurs="0" />
              <xs:element name="fWeight" msprop:Generator_ColumnVarNameInTable="columnfWeight" msprop:Generator_ColumnPropNameInRow="fWeight" msprop:Generator_ColumnPropNameInTable="fWeightColumn" msprop:Generator_UserColumnName="fWeight" type="xs:double" minOccurs="0" />
              <xs:element name="cBloodGroup" msprop:Generator_ColumnVarNameInTable="columncBloodGroup" msprop:Generator_ColumnPropNameInRow="cBloodGroup" msprop:Generator_ColumnPropNameInTable="cBloodGroupColumn" msprop:Generator_UserColumnName="cBloodGroup" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fShoeSizeVN" msprop:Generator_ColumnVarNameInTable="columnfShoeSizeVN" msprop:Generator_ColumnPropNameInRow="fShoeSizeVN" msprop:Generator_ColumnPropNameInTable="fShoeSizeVNColumn" msprop:Generator_UserColumnName="fShoeSizeVN" type="xs:double" minOccurs="0" />
              <xs:element name="fShoeSizeJP" msprop:Generator_ColumnVarNameInTable="columnfShoeSizeJP" msprop:Generator_ColumnPropNameInRow="fShoeSizeJP" msprop:Generator_ColumnPropNameInTable="fShoeSizeJPColumn" msprop:Generator_UserColumnName="fShoeSizeJP" type="xs:double" minOccurs="0" />
              <xs:element name="fOverallSizeVN" msprop:Generator_ColumnVarNameInTable="columnfOverallSizeVN" msprop:Generator_ColumnPropNameInRow="fOverallSizeVN" msprop:Generator_ColumnPropNameInTable="fOverallSizeVNColumn" msprop:Generator_UserColumnName="fOverallSizeVN" type="xs:double" minOccurs="0" />
              <xs:element name="cOverallSizeJP" msprop:Generator_ColumnVarNameInTable="columncOverallSizeJP" msprop:Generator_ColumnPropNameInRow="cOverallSizeJP" msprop:Generator_ColumnPropNameInTable="cOverallSizeJPColumn" msprop:Generator_UserColumnName="cOverallSizeJP" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bDeleted" msprop:Generator_ColumnVarNameInTable="columnbDeleted" msprop:Generator_ColumnPropNameInRow="bDeleted" msprop:Generator_ColumnPropNameInTable="bDeletedColumn" msprop:Generator_UserColumnName="bDeleted" type="xs:boolean" default="false" minOccurs="0" />
              <xs:element name="nRankID" msprop:Generator_ColumnVarNameInTable="columnnRankID" msprop:Generator_ColumnPropNameInRow="nRankID" msprop:Generator_ColumnPropNameInTable="nRankIDColumn" msprop:Generator_UserColumnName="nRankID" type="xs:int" minOccurs="0" />
              <xs:element name="cSex" msprop:Generator_ColumnVarNameInTable="columncSex" msprop:Generator_ColumnPropNameInRow="cSex" msprop:Generator_ColumnPropNameInTable="cSexColumn" msprop:Generator_UserColumnName="cSex" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cCMT" msprop:Generator_ColumnVarNameInTable="columncCMT" msprop:Generator_ColumnPropNameInRow="cCMT" msprop:Generator_ColumnPropNameInTable="cCMTColumn" msprop:Generator_UserColumnName="cCMT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dNgayCap" msprop:Generator_ColumnVarNameInTable="columndNgayCap" msprop:Generator_ColumnPropNameInRow="dNgayCap" msprop:Generator_ColumnPropNameInTable="dNgayCapColumn" msprop:Generator_UserColumnName="dNgayCap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="nNoiCap" msprop:Generator_ColumnVarNameInTable="columnnNoiCap" msprop:Generator_ColumnPropNameInRow="nNoiCap" msprop:Generator_ColumnPropNameInTable="nNoiCapColumn" msprop:Generator_UserColumnName="nNoiCap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactPhuongXaID" msprop:Generator_ColumnVarNameInTable="columnContactPhuongXaID" msprop:Generator_ColumnPropNameInRow="ContactPhuongXaID" msprop:Generator_ColumnPropNameInTable="ContactPhuongXaIDColumn" msprop:Generator_UserColumnName="ContactPhuongXaID" type="xs:int" minOccurs="0" />
              <xs:element name="ContactQuanHuyenId" msprop:Generator_ColumnVarNameInTable="columnContactQuanHuyenId" msprop:Generator_ColumnPropNameInRow="ContactQuanHuyenId" msprop:Generator_ColumnPropNameInTable="ContactQuanHuyenIdColumn" msprop:Generator_UserColumnName="ContactQuanHuyenId" type="xs:int" minOccurs="0" />
              <xs:element name="ContactTinhThanh" msprop:Generator_ColumnVarNameInTable="columnContactTinhThanh" msprop:Generator_ColumnPropNameInRow="ContactTinhThanh" msprop:Generator_ColumnPropNameInTable="ContactTinhThanhColumn" msprop:Generator_UserColumnName="ContactTinhThanh" type="xs:int" minOccurs="0" />
              <xs:element name="PhuongXaID" msprop:Generator_ColumnVarNameInTable="columnPhuongXaID" msprop:Generator_ColumnPropNameInRow="PhuongXaID" msprop:Generator_ColumnPropNameInTable="PhuongXaIDColumn" msprop:Generator_UserColumnName="PhuongXaID" type="xs:int" minOccurs="0" />
              <xs:element name="QuanHuyenID" msprop:Generator_ColumnVarNameInTable="columnQuanHuyenID" msprop:Generator_ColumnPropNameInRow="QuanHuyenID" msprop:Generator_ColumnPropNameInTable="QuanHuyenIDColumn" msprop:Generator_UserColumnName="QuanHuyenID" type="xs:int" minOccurs="0" />
              <xs:element name="TinhThanhID" msprop:Generator_ColumnVarNameInTable="columnTinhThanhID" msprop:Generator_ColumnPropNameInRow="TinhThanhID" msprop:Generator_ColumnPropNameInTable="TinhThanhIDColumn" msprop:Generator_UserColumnName="TinhThanhID" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblCourse" msprop:Generator_TableClassName="tblCourseDataTable" msprop:Generator_TableVarName="tabletblCourse" msprop:Generator_TablePropName="tblCourse" msprop:Generator_RowDeletingName="tblCourseRowDeleting" msprop:Generator_UserTableName="tblCourse" msprop:Generator_RowChangingName="tblCourseRowChanging" msprop:Generator_RowEvHandlerName="tblCourseRowChangeEventHandler" msprop:Generator_RowDeletedName="tblCourseRowDeleted" msprop:Generator_RowEvArgName="tblCourseRowChangeEvent" msprop:Generator_RowChangedName="tblCourseRowChanged" msprop:Generator_RowClassName="tblCourseRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nCourse" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnCourse" msprop:Generator_ColumnPropNameInRow="nCourse" msprop:Generator_ColumnPropNameInTable="nCourseColumn" msprop:Generator_UserColumnName="nCourse" type="xs:int" />
              <xs:element name="cCourseName" msprop:Generator_ColumnVarNameInTable="columncCourseName" msprop:Generator_ColumnPropNameInRow="cCourseName" msprop:Generator_ColumnPropNameInTable="cCourseNameColumn" msprop:Generator_UserColumnName="cCourseName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cCourseDescription" msprop:Generator_ColumnVarNameInTable="columncCourseDescription" msprop:Generator_ColumnPropNameInRow="cCourseDescription" msprop:Generator_ColumnPropNameInTable="cCourseDescriptionColumn" msprop:Generator_UserColumnName="cCourseDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblCertificateCrew" msprop:Generator_TableClassName="tblCertificateCrewDataTable" msprop:Generator_TableVarName="tabletblCertificateCrew" msprop:Generator_TablePropName="tblCertificateCrew" msprop:Generator_RowDeletingName="tblCertificateCrewRowDeleting" msprop:Generator_UserTableName="tblCertificateCrew" msprop:Generator_RowChangingName="tblCertificateCrewRowChanging" msprop:Generator_RowEvHandlerName="tblCertificateCrewRowChangeEventHandler" msprop:Generator_RowDeletedName="tblCertificateCrewRowDeleted" msprop:Generator_RowEvArgName="tblCertificateCrewRowChangeEvent" msprop:Generator_RowChangedName="tblCertificateCrewRowChanged" msprop:Generator_RowClassName="tblCertificateCrewRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nCertificateCrew" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnCertificateCrew" msprop:Generator_ColumnPropNameInRow="nCertificateCrew" msprop:Generator_ColumnPropNameInTable="nCertificateCrewColumn" msprop:Generator_UserColumnName="nCertificateCrew" type="xs:int" />
              <xs:element name="nCertificationId" msprop:Generator_ColumnVarNameInTable="columnnCertificationId" msprop:Generator_ColumnPropNameInRow="nCertificationId" msprop:Generator_ColumnPropNameInTable="nCertificationIdColumn" msprop:Generator_UserColumnName="nCertificationId" type="xs:int" minOccurs="0" />
              <xs:element name="nCrewid" msprop:Generator_ColumnVarNameInTable="columnnCrewid" msprop:Generator_ColumnPropNameInRow="nCrewid" msprop:Generator_ColumnPropNameInTable="nCrewidColumn" msprop:Generator_UserColumnName="nCrewid" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cIssuedBy" msprop:Generator_ColumnVarNameInTable="columncIssuedBy" msprop:Generator_ColumnPropNameInRow="cIssuedBy" msprop:Generator_ColumnPropNameInTable="cIssuedByColumn" msprop:Generator_UserColumnName="cIssuedBy" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cNumber" msprop:Generator_ColumnVarNameInTable="columncNumber" msprop:Generator_ColumnPropNameInRow="cNumber" msprop:Generator_ColumnPropNameInTable="cNumberColumn" msprop:Generator_UserColumnName="cNumber" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dDateOfIssued" msprop:Generator_ColumnVarNameInTable="columndDateOfIssued" msprop:Generator_ColumnPropNameInRow="dDateOfIssued" msprop:Generator_ColumnPropNameInTable="dDateOfIssuedColumn" msprop:Generator_UserColumnName="dDateOfIssued" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dDateOfExpire" msprop:Generator_ColumnVarNameInTable="columndDateOfExpire" msprop:Generator_ColumnPropNameInRow="dDateOfExpire" msprop:Generator_ColumnPropNameInTable="dDateOfExpireColumn" msprop:Generator_UserColumnName="dDateOfExpire" type="xs:dateTime" minOccurs="0" />
              <xs:element name="bScanDoc" msprop:Generator_ColumnVarNameInTable="columnbScanDoc" msprop:Generator_ColumnPropNameInRow="bScanDoc" msprop:Generator_ColumnPropNameInTable="bScanDocColumn" msprop:Generator_UserColumnName="bScanDoc" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cExt" msprop:Generator_ColumnVarNameInTable="columncExt" msprop:Generator_ColumnPropNameInRow="cExt" msprop:Generator_ColumnPropNameInTable="cExtColumn" msprop:Generator_UserColumnName="cExt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nFileName" msprop:Generator_ColumnVarNameInTable="columnnFileName" msprop:Generator_ColumnPropNameInRow="nFileName" msprop:Generator_ColumnPropNameInTable="nFileNameColumn" msprop:Generator_UserColumnName="nFileName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsUnlimited" msprop:Generator_ColumnVarNameInTable="columnIsUnlimited" msprop:Generator_ColumnPropNameInRow="IsUnlimited" msprop:Generator_ColumnPropNameInTable="IsUnlimitedColumn" msprop:Generator_UserColumnName="IsUnlimited" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblCertification" msprop:Generator_TableClassName="tblCertificationDataTable" msprop:Generator_TableVarName="tabletblCertification" msprop:Generator_TablePropName="tblCertification" msprop:Generator_RowDeletingName="tblCertificationRowDeleting" msprop:Generator_UserTableName="tblCertification" msprop:Generator_RowChangingName="tblCertificationRowChanging" msprop:Generator_RowEvHandlerName="tblCertificationRowChangeEventHandler" msprop:Generator_RowDeletedName="tblCertificationRowDeleted" msprop:Generator_RowEvArgName="tblCertificationRowChangeEvent" msprop:Generator_RowChangedName="tblCertificationRowChanged" msprop:Generator_RowClassName="tblCertificationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nCertificationId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnCertificationId" msprop:Generator_ColumnPropNameInRow="nCertificationId" msprop:Generator_ColumnPropNameInTable="nCertificationIdColumn" msprop:Generator_UserColumnName="nCertificationId" type="xs:int" />
              <xs:element name="cCertificationName" msprop:Generator_ColumnVarNameInTable="columncCertificationName" msprop:Generator_ColumnPropNameInRow="cCertificationName" msprop:Generator_ColumnPropNameInTable="cCertificationNameColumn" msprop:Generator_UserColumnName="cCertificationName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cCertificationDescription" msprop:Generator_ColumnVarNameInTable="columncCertificationDescription" msprop:Generator_ColumnPropNameInRow="cCertificationDescription" msprop:Generator_ColumnPropNameInTable="cCertificationDescriptionColumn" msprop:Generator_UserColumnName="cCertificationDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblExprience" msprop:Generator_TableClassName="tblExprienceDataTable" msprop:Generator_TableVarName="tabletblExprience" msprop:Generator_TablePropName="tblExprience" msprop:Generator_RowDeletingName="tblExprienceRowDeleting" msprop:Generator_UserTableName="tblExprience" msprop:Generator_RowChangingName="tblExprienceRowChanging" msprop:Generator_RowEvHandlerName="tblExprienceRowChangeEventHandler" msprop:Generator_RowDeletedName="tblExprienceRowDeleted" msprop:Generator_RowEvArgName="tblExprienceRowChangeEvent" msprop:Generator_RowChangedName="tblExprienceRowChanged" msprop:Generator_RowClassName="tblExprienceRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nExprienceId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnExprienceId" msprop:Generator_ColumnPropNameInRow="nExprienceId" msprop:Generator_ColumnPropNameInTable="nExprienceIdColumn" msprop:Generator_UserColumnName="nExprienceId" type="xs:int" />
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nRankId" msprop:Generator_ColumnVarNameInTable="columnnRankId" msprop:Generator_ColumnPropNameInRow="nRankId" msprop:Generator_ColumnPropNameInTable="nRankIdColumn" msprop:Generator_UserColumnName="nRankId" type="xs:int" minOccurs="0" />
              <xs:element name="nVesselId" msprop:Generator_ColumnVarNameInTable="columnnVesselId" msprop:Generator_ColumnPropNameInRow="nVesselId" msprop:Generator_ColumnPropNameInTable="nVesselIdColumn" msprop:Generator_UserColumnName="nVesselId" type="xs:int" minOccurs="0" />
              <xs:element name="nEmbarkedPlace" msprop:Generator_ColumnVarNameInTable="columnnEmbarkedPlace" msprop:Generator_ColumnPropNameInRow="nEmbarkedPlace" msprop:Generator_ColumnPropNameInTable="nEmbarkedPlaceColumn" msprop:Generator_UserColumnName="nEmbarkedPlace" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nDisembarkedPlace" msprop:Generator_ColumnVarNameInTable="columnnDisembarkedPlace" msprop:Generator_ColumnPropNameInRow="nDisembarkedPlace" msprop:Generator_ColumnPropNameInTable="nDisembarkedPlaceColumn" msprop:Generator_UserColumnName="nDisembarkedPlace" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dEmbarkedDate" msprop:Generator_ColumnVarNameInTable="columndEmbarkedDate" msprop:Generator_ColumnPropNameInRow="dEmbarkedDate" msprop:Generator_ColumnPropNameInTable="dEmbarkedDateColumn" msprop:Generator_UserColumnName="dEmbarkedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dDisembarkedDate" msprop:Generator_ColumnVarNameInTable="columndDisembarkedDate" msprop:Generator_ColumnPropNameInRow="dDisembarkedDate" msprop:Generator_ColumnPropNameInTable="dDisembarkedDateColumn" msprop:Generator_UserColumnName="dDisembarkedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="fDuration" msprop:Generator_ColumnVarNameInTable="columnfDuration" msprop:Generator_ColumnPropNameInRow="fDuration" msprop:Generator_ColumnPropNameInTable="fDurationColumn" msprop:Generator_UserColumnName="fDuration" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblNhanXetCuaChuTau" msprop:Generator_TableClassName="tblNhanXetCuaChuTauDataTable" msprop:Generator_TableVarName="tabletblNhanXetCuaChuTau" msprop:Generator_TablePropName="tblNhanXetCuaChuTau" msprop:Generator_RowDeletingName="tblNhanXetCuaChuTauRowDeleting" msprop:Generator_UserTableName="tblNhanXetCuaChuTau" msprop:Generator_RowChangingName="tblNhanXetCuaChuTauRowChanging" msprop:Generator_RowEvHandlerName="tblNhanXetCuaChuTauRowChangeEventHandler" msprop:Generator_RowDeletedName="tblNhanXetCuaChuTauRowDeleted" msprop:Generator_RowEvArgName="tblNhanXetCuaChuTauRowChangeEvent" msprop:Generator_RowChangedName="tblNhanXetCuaChuTauRowChanged" msprop:Generator_RowClassName="tblNhanXetCuaChuTauRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="iNhanXetID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columniNhanXetID" msprop:Generator_ColumnPropNameInRow="iNhanXetID" msprop:Generator_ColumnPropNameInTable="iNhanXetIDColumn" msprop:Generator_UserColumnName="iNhanXetID" type="xs:int" />
              <xs:element name="iVesselId" msprop:Generator_ColumnVarNameInTable="columniVesselId" msprop:Generator_ColumnPropNameInRow="iVesselId" msprop:Generator_ColumnPropNameInTable="iVesselIdColumn" msprop:Generator_UserColumnName="iVesselId" type="xs:int" minOccurs="0" />
              <xs:element name="nCrewID" msprop:Generator_ColumnVarNameInTable="columnnCrewID" msprop:Generator_ColumnPropNameInRow="nCrewID" msprop:Generator_ColumnPropNameInTable="nCrewIDColumn" msprop:Generator_UserColumnName="nCrewID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nTieuDe" msprop:Generator_ColumnVarNameInTable="columnnTieuDe" msprop:Generator_ColumnPropNameInRow="nTieuDe" msprop:Generator_ColumnPropNameInTable="nTieuDeColumn" msprop:Generator_UserColumnName="nTieuDe" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dNgayNhanXet" msprop:Generator_ColumnVarNameInTable="columndNgayNhanXet" msprop:Generator_ColumnPropNameInRow="dNgayNhanXet" msprop:Generator_ColumnPropNameInTable="dNgayNhanXetColumn" msprop:Generator_UserColumnName="dNgayNhanXet" type="xs:dateTime" minOccurs="0" />
              <xs:element name="pNoiDung" msprop:Generator_ColumnVarNameInTable="columnpNoiDung" msprop:Generator_ColumnPropNameInRow="pNoiDung" msprop:Generator_ColumnPropNameInTable="pNoiDungColumn" msprop:Generator_UserColumnName="pNoiDung" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cExt" msprop:Generator_ColumnVarNameInTable="columncExt" msprop:Generator_ColumnPropNameInRow="cExt" msprop:Generator_ColumnPropNameInTable="cExtColumn" msprop:Generator_UserColumnName="cExt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nSize" msprop:Generator_ColumnVarNameInTable="columnnSize" msprop:Generator_ColumnPropNameInRow="nSize" msprop:Generator_ColumnPropNameInTable="nSizeColumn" msprop:Generator_UserColumnName="nSize" type="xs:long" minOccurs="0" />
              <xs:element name="nFilePath" msprop:Generator_ColumnVarNameInTable="columnnFilePath" msprop:Generator_ColumnPropNameInRow="nFilePath" msprop:Generator_ColumnPropNameInTable="nFilePathColumn" msprop:Generator_UserColumnName="nFilePath" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nGhiChu" msprop:Generator_ColumnVarNameInTable="columnnGhiChu" msprop:Generator_ColumnPropNameInRow="nGhiChu" msprop:Generator_ColumnPropNameInTable="nGhiChuColumn" msprop:Generator_UserColumnName="nGhiChu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblRank" msprop:Generator_TableClassName="tblRankDataTable" msprop:Generator_TableVarName="tabletblRank" msprop:Generator_TablePropName="tblRank" msprop:Generator_RowDeletingName="tblRankRowDeleting" msprop:Generator_UserTableName="tblRank" msprop:Generator_RowChangingName="tblRankRowChanging" msprop:Generator_RowEvHandlerName="tblRankRowChangeEventHandler" msprop:Generator_RowDeletedName="tblRankRowDeleted" msprop:Generator_RowEvArgName="tblRankRowChangeEvent" msprop:Generator_RowChangedName="tblRankRowChanged" msprop:Generator_RowClassName="tblRankRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nRankId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnRankId" msprop:Generator_ColumnPropNameInRow="nRankId" msprop:Generator_ColumnPropNameInTable="nRankIdColumn" msprop:Generator_UserColumnName="nRankId" type="xs:int" />
              <xs:element name="cRankName" msprop:Generator_ColumnVarNameInTable="columncRankName" msprop:Generator_ColumnPropNameInRow="cRankName" msprop:Generator_ColumnPropNameInTable="cRankNameColumn" msprop:Generator_UserColumnName="cRankName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nRankLevel" msprop:Generator_ColumnVarNameInTable="columnnRankLevel" msprop:Generator_ColumnPropNameInRow="nRankLevel" msprop:Generator_ColumnPropNameInTable="nRankLevelColumn" msprop:Generator_UserColumnName="nRankLevel" type="xs:int" minOccurs="0" />
              <xs:element name="cRankDescription" msprop:Generator_ColumnVarNameInTable="columncRankDescription" msprop:Generator_ColumnPropNameInRow="cRankDescription" msprop:Generator_ColumnPropNameInTable="cRankDescriptionColumn" msprop:Generator_UserColumnName="cRankDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="iRankType" msprop:Generator_ColumnVarNameInTable="columniRankType" msprop:Generator_ColumnPropNameInRow="iRankType" msprop:Generator_ColumnPropNameInTable="iRankTypeColumn" msprop:Generator_UserColumnName="iRankType" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblRanking" msprop:Generator_TableClassName="tblRankingDataTable" msprop:Generator_TableVarName="tabletblRanking" msprop:Generator_TablePropName="tblRanking" msprop:Generator_RowDeletingName="tblRankingRowDeleting" msprop:Generator_UserTableName="tblRanking" msprop:Generator_RowChangingName="tblRankingRowChanging" msprop:Generator_RowEvHandlerName="tblRankingRowChangeEventHandler" msprop:Generator_RowDeletedName="tblRankingRowDeleted" msprop:Generator_RowEvArgName="tblRankingRowChangeEvent" msprop:Generator_RowChangedName="tblRankingRowChanged" msprop:Generator_RowClassName="tblRankingRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="rankID" msprop:Generator_ColumnVarNameInTable="columnrankID" msprop:Generator_ColumnPropNameInRow="rankID" msprop:Generator_ColumnPropNameInTable="rankIDColumn" msprop:Generator_UserColumnName="rankID" type="xs:int" />
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dDateIssused" msprop:Generator_ColumnVarNameInTable="columndDateIssused" msprop:Generator_ColumnPropNameInRow="dDateIssused" msprop:Generator_ColumnPropNameInTable="dDateIssusedColumn" msprop:Generator_UserColumnName="dDateIssused" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblAssignment" msprop:Generator_TableClassName="tblAssignmentDataTable" msprop:Generator_TableVarName="tabletblAssignment" msprop:Generator_TablePropName="tblAssignment" msprop:Generator_RowDeletingName="tblAssignmentRowDeleting" msprop:Generator_UserTableName="tblAssignment" msprop:Generator_RowChangingName="tblAssignmentRowChanging" msprop:Generator_RowEvHandlerName="tblAssignmentRowChangeEventHandler" msprop:Generator_RowDeletedName="tblAssignmentRowDeleted" msprop:Generator_RowEvArgName="tblAssignmentRowChangeEvent" msprop:Generator_RowChangedName="tblAssignmentRowChanged" msprop:Generator_RowClassName="tblAssignmentRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nAssignmentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnAssignmentId" msprop:Generator_ColumnPropNameInRow="nAssignmentId" msprop:Generator_ColumnPropNameInTable="nAssignmentIdColumn" msprop:Generator_UserColumnName="nAssignmentId" type="xs:int" />
              <xs:element name="nCrewid" msprop:Generator_ColumnVarNameInTable="columnnCrewid" msprop:Generator_ColumnPropNameInRow="nCrewid" msprop:Generator_ColumnPropNameInTable="nCrewidColumn" msprop:Generator_UserColumnName="nCrewid" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nVesselId" msprop:Generator_ColumnVarNameInTable="columnnVesselId" msprop:Generator_ColumnPropNameInRow="nVesselId" msprop:Generator_ColumnPropNameInTable="nVesselIdColumn" msprop:Generator_UserColumnName="nVesselId" type="xs:int" minOccurs="0" />
              <xs:element name="cStatus" msprop:Generator_ColumnVarNameInTable="columncStatus" msprop:Generator_ColumnPropNameInRow="cStatus" msprop:Generator_ColumnPropNameInTable="cStatusColumn" msprop:Generator_UserColumnName="cStatus" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cDescription" msprop:Generator_ColumnVarNameInTable="columncDescription" msprop:Generator_ColumnPropNameInRow="cDescription" msprop:Generator_ColumnPropNameInTable="cDescriptionColumn" msprop:Generator_UserColumnName="cDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dEmbarked" msprop:Generator_ColumnVarNameInTable="columndEmbarked" msprop:Generator_ColumnPropNameInRow="dEmbarked" msprop:Generator_ColumnPropNameInTable="dEmbarkedColumn" msprop:Generator_UserColumnName="dEmbarked" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dLeave" msprop:Generator_ColumnVarNameInTable="columndLeave" msprop:Generator_ColumnPropNameInRow="dLeave" msprop:Generator_ColumnPropNameInTable="dLeaveColumn" msprop:Generator_UserColumnName="dLeave" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dModified" msprop:Generator_ColumnVarNameInTable="columndModified" msprop:Generator_ColumnPropNameInRow="dModified" msprop:Generator_ColumnPropNameInTable="dModifiedColumn" msprop:Generator_UserColumnName="dModified" type="xs:dateTime" minOccurs="0" />
              <xs:element name="isActive" msprop:Generator_ColumnVarNameInTable="columnisActive" msprop:Generator_ColumnPropNameInRow="isActive" msprop:Generator_ColumnPropNameInTable="isActiveColumn" msprop:Generator_UserColumnName="isActive" type="xs:boolean" minOccurs="0" />
              <xs:element name="cVesselName" msprop:Generator_ColumnVarNameInTable="columncVesselName" msprop:Generator_ColumnPropNameInRow="cVesselName" msprop:Generator_ColumnPropNameInTable="cVesselNameColumn" msprop:Generator_UserColumnName="cVesselName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nRequest" msprop:Generator_ColumnVarNameInTable="columnnRequest" msprop:Generator_ColumnPropNameInRow="nRequest" msprop:Generator_ColumnPropNameInTable="nRequestColumn" msprop:Generator_UserColumnName="nRequest" type="xs:int" minOccurs="0" />
              <xs:element name="dDuKienRoiTau" msprop:Generator_ColumnVarNameInTable="columndDuKienRoiTau" msprop:Generator_ColumnPropNameInRow="dDuKienRoiTau" msprop:Generator_ColumnPropNameInTable="dDuKienRoiTauColumn" msprop:Generator_UserColumnName="dDuKienRoiTau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dSanSangLenTau" msprop:Generator_ColumnVarNameInTable="columndSanSangLenTau" msprop:Generator_ColumnPropNameInRow="dSanSangLenTau" msprop:Generator_ColumnPropNameInTable="dSanSangLenTauColumn" msprop:Generator_UserColumnName="dSanSangLenTau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dCatHopDong" msprop:Generator_ColumnVarNameInTable="columndCatHopDong" msprop:Generator_ColumnPropNameInRow="dCatHopDong" msprop:Generator_ColumnPropNameInTable="dCatHopDongColumn" msprop:Generator_UserColumnName="dCatHopDong" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dNghiHuu" msprop:Generator_ColumnVarNameInTable="columndNghiHuu" msprop:Generator_ColumnPropNameInRow="dNghiHuu" msprop:Generator_ColumnPropNameInTable="dNghiHuuColumn" msprop:Generator_UserColumnName="dNghiHuu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dKyHopDong" msprop:Generator_ColumnVarNameInTable="columndKyHopDong" msprop:Generator_ColumnPropNameInRow="dKyHopDong" msprop:Generator_ColumnPropNameInTable="dKyHopDongColumn" msprop:Generator_UserColumnName="dKyHopDong" type="xs:dateTime" minOccurs="0" />
              <xs:element name="nContract" msprop:Generator_ColumnVarNameInTable="columnnContract" msprop:Generator_ColumnPropNameInRow="nContract" msprop:Generator_ColumnPropNameInTable="nContractColumn" msprop:Generator_UserColumnName="nContract" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblViewCrew" msprop:Generator_TableClassName="tblViewCrewDataTable" msprop:Generator_TableVarName="tabletblViewCrew" msprop:Generator_TablePropName="tblViewCrew" msprop:Generator_RowDeletingName="tblViewCrewRowDeleting" msprop:Generator_UserTableName="tblViewCrew" msprop:Generator_RowChangingName="tblViewCrewRowChanging" msprop:Generator_RowEvHandlerName="tblViewCrewRowChangeEventHandler" msprop:Generator_RowDeletedName="tblViewCrewRowDeleted" msprop:Generator_RowEvArgName="tblViewCrewRowChangeEvent" msprop:Generator_RowChangedName="tblViewCrewRowChanged" msprop:Generator_RowClassName="tblViewCrewRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="iCrewType" msprop:Generator_ColumnVarNameInTable="columniCrewType" msprop:Generator_ColumnPropNameInRow="iCrewType" msprop:Generator_ColumnPropNameInTable="iCrewTypeColumn" msprop:Generator_UserColumnName="iCrewType" type="xs:int" minOccurs="0" />
              <xs:element name="bImage" msprop:Generator_ColumnVarNameInTable="columnbImage" msprop:Generator_ColumnPropNameInRow="bImage" msprop:Generator_ColumnPropNameInTable="bImageColumn" msprop:Generator_UserColumnName="bImage" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="cFamilyName" msprop:Generator_ColumnVarNameInTable="columncFamilyName" msprop:Generator_ColumnPropNameInRow="cFamilyName" msprop:Generator_ColumnPropNameInTable="cFamilyNameColumn" msprop:Generator_UserColumnName="cFamilyName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cMiddleName" msprop:Generator_ColumnVarNameInTable="columncMiddleName" msprop:Generator_ColumnPropNameInRow="cMiddleName" msprop:Generator_ColumnPropNameInTable="cMiddleNameColumn" msprop:Generator_UserColumnName="cMiddleName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cFirstName" msprop:Generator_ColumnVarNameInTable="columncFirstName" msprop:Generator_ColumnPropNameInRow="cFirstName" msprop:Generator_ColumnPropNameInTable="cFirstNameColumn" msprop:Generator_UserColumnName="cFirstName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cAlias" msprop:Generator_ColumnVarNameInTable="columncAlias" msprop:Generator_ColumnPropNameInRow="cAlias" msprop:Generator_ColumnPropNameInTable="cAliasColumn" msprop:Generator_UserColumnName="cAlias" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dDateOfBirth" msprop:Generator_ColumnVarNameInTable="columndDateOfBirth" msprop:Generator_ColumnPropNameInRow="dDateOfBirth" msprop:Generator_ColumnPropNameInTable="dDateOfBirthColumn" msprop:Generator_UserColumnName="dDateOfBirth" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cAddress" msprop:Generator_ColumnVarNameInTable="columncAddress" msprop:Generator_ColumnPropNameInRow="cAddress" msprop:Generator_ColumnPropNameInTable="cAddressColumn" msprop:Generator_UserColumnName="cAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cPlaceOfBirth" msprop:Generator_ColumnVarNameInTable="columncPlaceOfBirth" msprop:Generator_ColumnPropNameInRow="cPlaceOfBirth" msprop:Generator_ColumnPropNameInTable="cPlaceOfBirthColumn" msprop:Generator_UserColumnName="cPlaceOfBirth" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cHomeNo" msprop:Generator_ColumnVarNameInTable="columncHomeNo" msprop:Generator_ColumnPropNameInRow="cHomeNo" msprop:Generator_ColumnPropNameInTable="cHomeNoColumn" msprop:Generator_UserColumnName="cHomeNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cHandNo" msprop:Generator_ColumnVarNameInTable="columncHandNo" msprop:Generator_ColumnPropNameInRow="cHandNo" msprop:Generator_ColumnPropNameInTable="cHandNoColumn" msprop:Generator_UserColumnName="cHandNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cEmail" msprop:Generator_ColumnVarNameInTable="columncEmail" msprop:Generator_ColumnPropNameInRow="cEmail" msprop:Generator_ColumnPropNameInTable="cEmailColumn" msprop:Generator_UserColumnName="cEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cSex" msprop:Generator_ColumnVarNameInTable="columncSex" msprop:Generator_ColumnPropNameInRow="cSex" msprop:Generator_ColumnPropNameInTable="cSexColumn" msprop:Generator_UserColumnName="cSex" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cMaritalStatus" msprop:Generator_ColumnVarNameInTable="columncMaritalStatus" msprop:Generator_ColumnPropNameInRow="cMaritalStatus" msprop:Generator_ColumnPropNameInTable="cMaritalStatusColumn" msprop:Generator_UserColumnName="cMaritalStatus" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cNationality" msprop:Generator_ColumnVarNameInTable="columncNationality" msprop:Generator_ColumnPropNameInRow="cNationality" msprop:Generator_ColumnPropNameInTable="cNationalityColumn" msprop:Generator_UserColumnName="cNationality" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPerson" msprop:Generator_ColumnVarNameInTable="columncContactPerson" msprop:Generator_ColumnPropNameInRow="cContactPerson" msprop:Generator_ColumnPropNameInTable="cContactPersonColumn" msprop:Generator_UserColumnName="cContactPerson" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPersonAddress" msprop:Generator_ColumnVarNameInTable="columncContactPersonAddress" msprop:Generator_ColumnPropNameInRow="cContactPersonAddress" msprop:Generator_ColumnPropNameInTable="cContactPersonAddressColumn" msprop:Generator_UserColumnName="cContactPersonAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactPersonNo" msprop:Generator_ColumnVarNameInTable="columncContactPersonNo" msprop:Generator_ColumnPropNameInRow="cContactPersonNo" msprop:Generator_ColumnPropNameInTable="cContactPersonNoColumn" msprop:Generator_UserColumnName="cContactPersonNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactRelation" msprop:Generator_ColumnVarNameInTable="columncContactRelation" msprop:Generator_ColumnPropNameInRow="cContactRelation" msprop:Generator_ColumnPropNameInTable="cContactRelationColumn" msprop:Generator_UserColumnName="cContactRelation" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cContactEmail" msprop:Generator_ColumnVarNameInTable="columncContactEmail" msprop:Generator_ColumnPropNameInRow="cContactEmail" msprop:Generator_ColumnPropNameInTable="cContactEmailColumn" msprop:Generator_UserColumnName="cContactEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fHeight" msprop:Generator_ColumnVarNameInTable="columnfHeight" msprop:Generator_ColumnPropNameInRow="fHeight" msprop:Generator_ColumnPropNameInTable="fHeightColumn" msprop:Generator_UserColumnName="fHeight" type="xs:double" minOccurs="0" />
              <xs:element name="fWeight" msprop:Generator_ColumnVarNameInTable="columnfWeight" msprop:Generator_ColumnPropNameInRow="fWeight" msprop:Generator_ColumnPropNameInTable="fWeightColumn" msprop:Generator_UserColumnName="fWeight" type="xs:double" minOccurs="0" />
              <xs:element name="cBloodGroup" msprop:Generator_ColumnVarNameInTable="columncBloodGroup" msprop:Generator_ColumnPropNameInRow="cBloodGroup" msprop:Generator_ColumnPropNameInTable="cBloodGroupColumn" msprop:Generator_UserColumnName="cBloodGroup" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fShoeSizeVN" msprop:Generator_ColumnVarNameInTable="columnfShoeSizeVN" msprop:Generator_ColumnPropNameInRow="fShoeSizeVN" msprop:Generator_ColumnPropNameInTable="fShoeSizeVNColumn" msprop:Generator_UserColumnName="fShoeSizeVN" type="xs:double" minOccurs="0" />
              <xs:element name="fShoeSizeJP" msprop:Generator_ColumnVarNameInTable="columnfShoeSizeJP" msprop:Generator_ColumnPropNameInRow="fShoeSizeJP" msprop:Generator_ColumnPropNameInTable="fShoeSizeJPColumn" msprop:Generator_UserColumnName="fShoeSizeJP" type="xs:double" minOccurs="0" />
              <xs:element name="fOverallSizeVN" msprop:Generator_ColumnVarNameInTable="columnfOverallSizeVN" msprop:Generator_ColumnPropNameInRow="fOverallSizeVN" msprop:Generator_ColumnPropNameInTable="fOverallSizeVNColumn" msprop:Generator_UserColumnName="fOverallSizeVN" type="xs:double" minOccurs="0" />
              <xs:element name="cOverallSizeJP" msprop:Generator_ColumnVarNameInTable="columncOverallSizeJP" msprop:Generator_ColumnPropNameInRow="cOverallSizeJP" msprop:Generator_ColumnPropNameInTable="cOverallSizeJPColumn" msprop:Generator_UserColumnName="cOverallSizeJP" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bDeleted" msprop:Generator_ColumnVarNameInTable="columnbDeleted" msprop:Generator_ColumnPropNameInRow="bDeleted" msprop:Generator_ColumnPropNameInTable="bDeletedColumn" msprop:Generator_UserColumnName="bDeleted" type="xs:boolean" minOccurs="0" />
              <xs:element name="cRankName" msprop:Generator_ColumnVarNameInTable="columncRankName" msprop:Generator_ColumnPropNameInRow="cRankName" msprop:Generator_ColumnPropNameInTable="cRankNameColumn" msprop:Generator_UserColumnName="cRankName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nRankID" msprop:Generator_ColumnVarNameInTable="columnnRankID" msprop:Generator_ColumnPropNameInRow="nRankID" msprop:Generator_ColumnPropNameInTable="nRankIDColumn" msprop:Generator_UserColumnName="nRankID" type="xs:int" minOccurs="0" />
              <xs:element name="cStatus" msprop:Generator_ColumnVarNameInTable="columncStatus" msprop:Generator_ColumnPropNameInRow="cStatus" msprop:Generator_ColumnPropNameInTable="cStatusColumn" msprop:Generator_UserColumnName="cStatus" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nVesselId" msprop:Generator_ColumnVarNameInTable="columnnVesselId" msprop:Generator_ColumnPropNameInRow="nVesselId" msprop:Generator_ColumnPropNameInTable="nVesselIdColumn" msprop:Generator_UserColumnName="nVesselId" type="xs:int" minOccurs="0" />
              <xs:element name="nRankLevel" msprop:Generator_ColumnVarNameInTable="columnnRankLevel" msprop:Generator_ColumnPropNameInRow="nRankLevel" msprop:Generator_ColumnPropNameInTable="nRankLevelColumn" msprop:Generator_UserColumnName="nRankLevel" type="xs:int" minOccurs="0" />
              <xs:element name="cCMT" msprop:Generator_ColumnVarNameInTable="columncCMT" msprop:Generator_ColumnPropNameInRow="cCMT" msprop:Generator_ColumnPropNameInTable="cCMTColumn" msprop:Generator_UserColumnName="cCMT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dNgayCap" msprop:Generator_ColumnVarNameInTable="columndNgayCap" msprop:Generator_ColumnPropNameInRow="dNgayCap" msprop:Generator_ColumnPropNameInTable="dNgayCapColumn" msprop:Generator_UserColumnName="dNgayCap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="nNoiCap" msprop:Generator_ColumnVarNameInTable="columnnNoiCap" msprop:Generator_ColumnPropNameInRow="nNoiCap" msprop:Generator_ColumnPropNameInTable="nNoiCapColumn" msprop:Generator_UserColumnName="nNoiCap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="isActive" msprop:Generator_ColumnVarNameInTable="columnisActive" msprop:Generator_ColumnPropNameInRow="isActive" msprop:Generator_ColumnPropNameInTable="isActiveColumn" msprop:Generator_UserColumnName="isActive" type="xs:boolean" minOccurs="0" />
              <xs:element name="dLeave" msprop:Generator_ColumnVarNameInTable="columndLeave" msprop:Generator_ColumnPropNameInRow="dLeave" msprop:Generator_ColumnPropNameInTable="dLeaveColumn" msprop:Generator_UserColumnName="dLeave" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dEmbarked" msprop:Generator_ColumnVarNameInTable="columndEmbarked" msprop:Generator_ColumnPropNameInRow="dEmbarked" msprop:Generator_ColumnPropNameInTable="dEmbarkedColumn" msprop:Generator_UserColumnName="dEmbarked" type="xs:dateTime" minOccurs="0" />
              <xs:element name="nContract" msprop:Generator_ColumnVarNameInTable="columnnContract" msprop:Generator_ColumnPropNameInRow="nContract" msprop:Generator_ColumnPropNameInTable="nContractColumn" msprop:Generator_UserColumnName="nContract" type="xs:int" minOccurs="0" />
              <xs:element name="nRequest" msprop:Generator_ColumnVarNameInTable="columnnRequest" msprop:Generator_ColumnPropNameInRow="nRequest" msprop:Generator_ColumnPropNameInTable="nRequestColumn" msprop:Generator_UserColumnName="nRequest" type="xs:int" minOccurs="0" />
              <xs:element name="dModified" msprop:Generator_ColumnVarNameInTable="columndModified" msprop:Generator_ColumnPropNameInRow="dModified" msprop:Generator_ColumnPropNameInTable="dModifiedColumn" msprop:Generator_UserColumnName="dModified" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dDuKienRoiTau" msprop:Generator_ColumnVarNameInTable="columndDuKienRoiTau" msprop:Generator_ColumnPropNameInRow="dDuKienRoiTau" msprop:Generator_ColumnPropNameInTable="dDuKienRoiTauColumn" msprop:Generator_UserColumnName="dDuKienRoiTau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dSanSangLenTau" msprop:Generator_ColumnVarNameInTable="columndSanSangLenTau" msprop:Generator_ColumnPropNameInRow="dSanSangLenTau" msprop:Generator_ColumnPropNameInTable="dSanSangLenTauColumn" msprop:Generator_UserColumnName="dSanSangLenTau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dCatHopDong" msprop:Generator_ColumnVarNameInTable="columndCatHopDong" msprop:Generator_ColumnPropNameInRow="dCatHopDong" msprop:Generator_ColumnPropNameInTable="dCatHopDongColumn" msprop:Generator_UserColumnName="dCatHopDong" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dNghiHuu" msprop:Generator_ColumnVarNameInTable="columndNghiHuu" msprop:Generator_ColumnPropNameInRow="dNghiHuu" msprop:Generator_ColumnPropNameInTable="dNghiHuuColumn" msprop:Generator_UserColumnName="dNghiHuu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dKyHopDong" msprop:Generator_ColumnVarNameInTable="columndKyHopDong" msprop:Generator_ColumnPropNameInRow="dKyHopDong" msprop:Generator_ColumnPropNameInTable="dKyHopDongColumn" msprop:Generator_UserColumnName="dKyHopDong" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ContactPhuongXaID" msprop:Generator_ColumnVarNameInTable="columnContactPhuongXaID" msprop:Generator_ColumnPropNameInRow="ContactPhuongXaID" msprop:Generator_ColumnPropNameInTable="ContactPhuongXaIDColumn" msprop:Generator_UserColumnName="ContactPhuongXaID" type="xs:int" minOccurs="0" />
              <xs:element name="ContactQuanHuyenId" msprop:Generator_ColumnVarNameInTable="columnContactQuanHuyenId" msprop:Generator_ColumnPropNameInRow="ContactQuanHuyenId" msprop:Generator_ColumnPropNameInTable="ContactQuanHuyenIdColumn" msprop:Generator_UserColumnName="ContactQuanHuyenId" type="xs:int" minOccurs="0" />
              <xs:element name="ContactTinhThanh" msprop:Generator_ColumnVarNameInTable="columnContactTinhThanh" msprop:Generator_ColumnPropNameInRow="ContactTinhThanh" msprop:Generator_ColumnPropNameInTable="ContactTinhThanhColumn" msprop:Generator_UserColumnName="ContactTinhThanh" type="xs:int" minOccurs="0" />
              <xs:element name="PhuongXaID" msprop:Generator_ColumnVarNameInTable="columnPhuongXaID" msprop:Generator_ColumnPropNameInRow="PhuongXaID" msprop:Generator_ColumnPropNameInTable="PhuongXaIDColumn" msprop:Generator_UserColumnName="PhuongXaID" type="xs:int" minOccurs="0" />
              <xs:element name="QuanHuyenID" msprop:Generator_ColumnVarNameInTable="columnQuanHuyenID" msprop:Generator_ColumnPropNameInRow="QuanHuyenID" msprop:Generator_ColumnPropNameInTable="QuanHuyenIDColumn" msprop:Generator_UserColumnName="QuanHuyenID" type="xs:int" minOccurs="0" />
              <xs:element name="TinhThanhID" msprop:Generator_ColumnVarNameInTable="columnTinhThanhID" msprop:Generator_ColumnPropNameInRow="TinhThanhID" msprop:Generator_ColumnPropNameInTable="TinhThanhIDColumn" msprop:Generator_UserColumnName="TinhThanhID" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblSchoolName" msprop:Generator_TableClassName="tblSchoolNameDataTable" msprop:Generator_TableVarName="tabletblSchoolName" msprop:Generator_TablePropName="tblSchoolName" msprop:Generator_RowDeletingName="tblSchoolNameRowDeleting" msprop:Generator_UserTableName="tblSchoolName" msprop:Generator_RowChangingName="tblSchoolNameRowChanging" msprop:Generator_RowEvHandlerName="tblSchoolNameRowChangeEventHandler" msprop:Generator_RowDeletedName="tblSchoolNameRowDeleted" msprop:Generator_RowEvArgName="tblSchoolNameRowChangeEvent" msprop:Generator_RowChangedName="tblSchoolNameRowChanged" msprop:Generator_RowClassName="tblSchoolNameRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="TenTruong" msprop:Generator_ColumnVarNameInTable="columnTenTruong" msprop:Generator_ColumnPropNameInRow="TenTruong" msprop:Generator_ColumnPropNameInTable="TenTruongColumn" msprop:Generator_UserColumnName="TenTruong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenTiengAnh" msprop:Generator_ColumnVarNameInTable="columnTenTiengAnh" msprop:Generator_ColumnPropNameInRow="TenTiengAnh" msprop:Generator_ColumnPropNameInTable="TenTiengAnhColumn" msprop:Generator_UserColumnName="TenTiengAnh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblContract" msprop:Generator_TableClassName="tblContractDataTable" msprop:Generator_TableVarName="tabletblContract" msprop:Generator_TablePropName="tblContract" msprop:Generator_RowDeletingName="tblContractRowDeleting" msprop:Generator_UserTableName="tblContract" msprop:Generator_RowChangingName="tblContractRowChanging" msprop:Generator_RowEvHandlerName="tblContractRowChangeEventHandler" msprop:Generator_RowDeletedName="tblContractRowDeleted" msprop:Generator_RowEvArgName="tblContractRowChangeEvent" msprop:Generator_RowChangedName="tblContractRowChanged" msprop:Generator_RowClassName="tblContractRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="nContractId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnnContractId" msprop:Generator_ColumnPropNameInRow="nContractId" msprop:Generator_ColumnPropNameInTable="nContractIdColumn" msprop:Generator_UserColumnName="nContractId" type="xs:int" />
              <xs:element name="nCrewId" msprop:Generator_ColumnVarNameInTable="columnnCrewId" msprop:Generator_ColumnPropNameInRow="nCrewId" msprop:Generator_ColumnPropNameInTable="nCrewIdColumn" msprop:Generator_UserColumnName="nCrewId" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nEmployerId" msprop:Generator_ColumnVarNameInTable="columnnEmployerId" msprop:Generator_ColumnPropNameInRow="nEmployerId" msprop:Generator_ColumnPropNameInTable="nEmployerIdColumn" msprop:Generator_UserColumnName="nEmployerId" type="xs:int" minOccurs="0" />
              <xs:element name="nVesselId" msprop:Generator_ColumnVarNameInTable="columnnVesselId" msprop:Generator_ColumnPropNameInRow="nVesselId" msprop:Generator_ColumnPropNameInTable="nVesselIdColumn" msprop:Generator_UserColumnName="nVesselId" type="xs:int" minOccurs="0" />
              <xs:element name="dContractDate" msprop:Generator_ColumnVarNameInTable="columndContractDate" msprop:Generator_ColumnPropNameInRow="dContractDate" msprop:Generator_ColumnPropNameInTable="dContractDateColumn" msprop:Generator_UserColumnName="dContractDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PeriodOfEmployment" msprop:Generator_ColumnVarNameInTable="columnPeriodOfEmployment" msprop:Generator_ColumnPropNameInRow="PeriodOfEmployment" msprop:Generator_ColumnPropNameInTable="PeriodOfEmploymentColumn" msprop:Generator_UserColumnName="PeriodOfEmployment" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblNextID" msprop:Generator_TableClassName="tblNextIDDataTable" msprop:Generator_TableVarName="tabletblNextID" msprop:Generator_TablePropName="tblNextID" msprop:Generator_RowDeletingName="tblNextIDRowDeleting" msprop:Generator_UserTableName="tblNextID" msprop:Generator_RowChangingName="tblNextIDRowChanging" msprop:Generator_RowEvHandlerName="tblNextIDRowChangeEventHandler" msprop:Generator_RowDeletedName="tblNextIDRowDeleted" msprop:Generator_RowEvArgName="tblNextIDRowChangeEvent" msprop:Generator_RowChangedName="tblNextIDRowChanged" msprop:Generator_RowClassName="tblNextIDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NextID" msprop:Generator_ColumnVarNameInTable="columnNextID" msprop:Generator_ColumnPropNameInRow="NextID" msprop:Generator_ColumnPropNameInTable="NextIDColumn" msprop:Generator_UserColumnName="NextID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblAccountCrew" msprop:Generator_TableClassName="tblAccountCrewDataTable" msprop:Generator_TableVarName="tabletblAccountCrew" msprop:Generator_TablePropName="tblAccountCrew" msprop:Generator_RowDeletingName="tblAccountCrewRowDeleting" msprop:Generator_UserTableName="tblAccountCrew" msprop:Generator_RowChangingName="tblAccountCrewRowChanging" msprop:Generator_RowEvHandlerName="tblAccountCrewRowChangeEventHandler" msprop:Generator_RowDeletedName="tblAccountCrewRowDeleted" msprop:Generator_RowEvArgName="tblAccountCrewRowChangeEvent" msprop:Generator_RowChangedName="tblAccountCrewRowChanged" msprop:Generator_RowClassName="tblAccountCrewRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="CrewID" msprop:Generator_ColumnVarNameInTable="columnCrewID" msprop:Generator_ColumnPropNameInRow="CrewID" msprop:Generator_ColumnPropNameInTable="CrewIDColumn" msprop:Generator_UserColumnName="CrewID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Số_x0020_BHXH" msprop:Generator_ColumnVarNameInTable="columnSố_BHXH" msprop:Generator_ColumnPropNameInRow="Số_BHXH" msprop:Generator_ColumnPropNameInTable="Số_BHXHColumn" msprop:Generator_UserColumnName="Số BHXH" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mã_x0020_số_x0020_thuế" msprop:Generator_ColumnVarNameInTable="columnMã_số_thuế" msprop:Generator_ColumnPropNameInRow="Mã_số_thuế" msprop:Generator_ColumnPropNameInTable="Mã_số_thuếColumn" msprop:Generator_UserColumnName="Mã số thuế" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Số_x0020_TK_x0020_Ngân_x0020_hàng" msprop:Generator_ColumnVarNameInTable="columnSố_TK_Ngân_hàng" msprop:Generator_ColumnPropNameInRow="Số_TK_Ngân_hàng" msprop:Generator_ColumnPropNameInTable="Số_TK_Ngân_hàngColumn" msprop:Generator_UserColumnName="Số TK Ngân hàng" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ngân_x0020_hàng" msprop:Generator_ColumnVarNameInTable="columnNgân_hàng" msprop:Generator_ColumnPropNameInRow="Ngân_hàng" msprop:Generator_ColumnPropNameInTable="Ngân_hàngColumn" msprop:Generator_UserColumnName="Ngân hàng" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblQuanHe" msprop:Generator_TableClassName="tblQuanHeDataTable" msprop:Generator_TableVarName="tabletblQuanHe" msprop:Generator_TablePropName="tblQuanHe" msprop:Generator_RowDeletingName="tblQuanHeRowDeleting" msprop:Generator_UserTableName="tblQuanHe" msprop:Generator_RowChangingName="tblQuanHeRowChanging" msprop:Generator_RowEvHandlerName="tblQuanHeRowChangeEventHandler" msprop:Generator_RowDeletedName="tblQuanHeRowDeleted" msprop:Generator_RowEvArgName="tblQuanHeRowChangeEvent" msprop:Generator_RowChangedName="tblQuanHeRowChanged" msprop:Generator_RowClassName="tblQuanHeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="CrewID" msprop:Generator_ColumnVarNameInTable="columnCrewID" msprop:Generator_ColumnPropNameInRow="CrewID" msprop:Generator_ColumnPropNameInTable="CrewIDColumn" msprop:Generator_UserColumnName="CrewID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Tên" msprop:Generator_ColumnVarNameInTable="columnTên" msprop:Generator_ColumnPropNameInRow="Tên" msprop:Generator_ColumnPropNameInTable="TênColumn" msprop:Generator_UserColumnName="Tên" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Quan_x0020_hệ" msprop:Generator_ColumnVarNameInTable="columnQuan_hệ" msprop:Generator_ColumnPropNameInRow="Quan_hệ" msprop:Generator_ColumnPropNameInTable="Quan_hệColumn" msprop:Generator_UserColumnName="Quan hệ" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Bắt_x0020_đầu" msprop:Generator_ColumnVarNameInTable="columnBắt_đầu" msprop:Generator_ColumnPropNameInRow="Bắt_đầu" msprop:Generator_ColumnPropNameInTable="Bắt_đầuColumn" msprop:Generator_UserColumnName="Bắt đầu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Kết_x0020_thúc" msprop:Generator_ColumnVarNameInTable="columnKết_thúc" msprop:Generator_ColumnPropNameInRow="Kết_thúc" msprop:Generator_ColumnPropNameInTable="Kết_thúcColumn" msprop:Generator_UserColumnName="Kết thúc" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Ghi_x0020_chú" msprop:Generator_ColumnVarNameInTable="columnGhi_chú" msprop:Generator_ColumnPropNameInRow="Ghi_chú" msprop:Generator_ColumnPropNameInTable="Ghi_chúColumn" msprop:Generator_UserColumnName="Ghi chú" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblHDLD" msprop:Generator_TableClassName="tblHDLDDataTable" msprop:Generator_TableVarName="tabletblHDLD" msprop:Generator_TablePropName="tblHDLD" msprop:Generator_RowDeletingName="tblHDLDRowDeleting" msprop:Generator_UserTableName="tblHDLD" msprop:Generator_RowChangingName="tblHDLDRowChanging" msprop:Generator_RowEvHandlerName="tblHDLDRowChangeEventHandler" msprop:Generator_RowDeletedName="tblHDLDRowDeleted" msprop:Generator_RowEvArgName="tblHDLDRowChangeEvent" msprop:Generator_RowChangedName="tblHDLDRowChanged" msprop:Generator_RowClassName="tblHDLDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="CrewID" msprop:Generator_ColumnVarNameInTable="columnCrewID" msprop:Generator_ColumnPropNameInRow="CrewID" msprop:Generator_ColumnPropNameInTable="CrewIDColumn" msprop:Generator_UserColumnName="CrewID" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LoaiHDLD" msprop:Generator_ColumnVarNameInTable="columnLoaiHDLD" msprop:Generator_ColumnPropNameInRow="LoaiHDLD" msprop:Generator_ColumnPropNameInTable="LoaiHDLDColumn" msprop:Generator_UserColumnName="LoaiHDLD" type="xs:int" minOccurs="0" />
              <xs:element name="Số_x0020_HĐLĐ" msprop:Generator_ColumnVarNameInTable="columnSố_HĐLĐ" msprop:Generator_ColumnPropNameInRow="Số_HĐLĐ" msprop:Generator_ColumnPropNameInTable="Số_HĐLĐColumn" msprop:Generator_UserColumnName="Số HĐLĐ" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ngày_x0020_ký" msprop:Generator_ColumnVarNameInTable="columnNgày_ký" msprop:Generator_ColumnPropNameInRow="Ngày_ký" msprop:Generator_ColumnPropNameInTable="Ngày_kýColumn" msprop:Generator_UserColumnName="Ngày ký" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Thời_x0020_hạn" msprop:Generator_ColumnVarNameInTable="columnThời_hạn" msprop:Generator_ColumnPropNameInRow="Thời_hạn" msprop:Generator_ColumnPropNameInTable="Thời_hạnColumn" msprop:Generator_UserColumnName="Thời hạn" type="xs:short" minOccurs="0" />
              <xs:element name="Ngày_x0020_hết_x0020_hạn" msprop:Generator_ColumnVarNameInTable="columnNgày_hết_hạn" msprop:Generator_ColumnPropNameInRow="Ngày_hết_hạn" msprop:Generator_ColumnPropNameInTable="Ngày_hết_hạnColumn" msprop:Generator_UserColumnName="Ngày hết hạn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Ghi_x0020_chú" msprop:Generator_ColumnVarNameInTable="columnGhi_chú" msprop:Generator_ColumnPropNameInRow="Ghi_chú" msprop:Generator_ColumnPropNameInTable="Ghi_chúColumn" msprop:Generator_UserColumnName="Ghi chú" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblLoaiHD" msprop:Generator_TableClassName="tblLoaiHDDataTable" msprop:Generator_TableVarName="tabletblLoaiHD" msprop:Generator_TablePropName="tblLoaiHD" msprop:Generator_RowDeletingName="tblLoaiHDRowDeleting" msprop:Generator_UserTableName="tblLoaiHD" msprop:Generator_RowChangingName="tblLoaiHDRowChanging" msprop:Generator_RowEvHandlerName="tblLoaiHDRowChangeEventHandler" msprop:Generator_RowDeletedName="tblLoaiHDRowDeleted" msprop:Generator_RowEvArgName="tblLoaiHDRowChangeEvent" msprop:Generator_RowChangedName="tblLoaiHDRowChanged" msprop:Generator_RowClassName="tblLoaiHDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="Tên_x0020_loại_x0020_hợp_x0020_đồng" msprop:Generator_ColumnVarNameInTable="columnTên_loại_hợp_đồng" msprop:Generator_ColumnPropNameInRow="Tên_loại_hợp_đồng" msprop:Generator_ColumnPropNameInTable="Tên_loại_hợp_đồngColumn" msprop:Generator_UserColumnName="Tên loại hợp đồng" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ghi_x0020_chú" msprop:Generator_ColumnVarNameInTable="columnGhi_chú" msprop:Generator_ColumnPropNameInRow="Ghi_chú" msprop:Generator_ColumnPropNameInTable="Ghi_chúColumn" msprop:Generator_UserColumnName="Ghi chú" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblImmigrationCrew" />
      <xs:field xpath="mstns:nImmigrationCrewId" />
    </xs:unique>
    <xs:unique name="tblImmigrationDoc_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblImmigrationDoc" />
      <xs:field xpath="mstns:nImmigrationId" />
    </xs:unique>
    <xs:unique name="tblEducation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblEducation" />
      <xs:field xpath="mstns:nEducationId" />
    </xs:unique>
    <xs:unique name="tblEducationType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblEducationType" />
      <xs:field xpath="mstns:nEducationType" />
    </xs:unique>
    <xs:unique name="tblCrewType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblCrewType" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="tblCrew_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblCrew" />
      <xs:field xpath="mstns:nCrewId" />
    </xs:unique>
    <xs:unique name="tblCourse_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblCourse" />
      <xs:field xpath="mstns:nCourse" />
    </xs:unique>
    <xs:unique name="tblCertificateCrew_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblCertificateCrew" />
      <xs:field xpath="mstns:nCertificateCrew" />
    </xs:unique>
    <xs:unique name="tblCertification_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblCertification" />
      <xs:field xpath="mstns:nCertificationId" />
    </xs:unique>
    <xs:unique name="tblExprience_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblExprience" />
      <xs:field xpath="mstns:nExprienceId" />
    </xs:unique>
    <xs:unique name="tblNhanXetCuaChuTau_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblNhanXetCuaChuTau" />
      <xs:field xpath="mstns:iNhanXetID" />
    </xs:unique>
    <xs:unique name="tblRank_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblRank" />
      <xs:field xpath="mstns:nRankId" />
    </xs:unique>
    <xs:unique name="tblRanking_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblRanking" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="tblAssignment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblAssignment" />
      <xs:field xpath="mstns:nAssignmentId" />
    </xs:unique>
    <xs:unique name="tblViewCrew_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblViewCrew" />
      <xs:field xpath="mstns:nCrewId" />
    </xs:unique>
    <xs:unique name="tblSchoolName_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblSchoolName" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="tblContract_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblContract" />
      <xs:field xpath="mstns:nContractId" />
    </xs:unique>
    <xs:unique name="tblNextID_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblNextID" />
      <xs:field xpath="mstns:NextID" />
    </xs:unique>
    <xs:unique name="tblAccountCrew_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblAccountCrew" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="tblQuanHe_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblQuanHe" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="tblHDLD_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblHDLD" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="tblLoaiHD_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tblLoaiHD" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:keyref name="FK_tblHDLD_tblLoaiHD" refer="tblLoaiHD_Constraint1" msprop:rel_Generator_UserChildTable="tblHDLD" msprop:rel_Generator_ChildPropName="GettblHDLDRows" msprop:rel_Generator_UserParentTable="tblLoaiHD" msprop:rel_Generator_UserRelationName="FK_tblHDLD_tblLoaiHD1" msprop:rel_Generator_RelationVarName="relationFK_tblHDLD_tblLoaiHD1" msprop:rel_Generator_ParentPropName="tblLoaiHDRow" msdata:RelationName="FK_tblHDLD_tblLoaiHD1">
      <xs:selector xpath=".//mstns:tblHDLD" />
      <xs:field xpath="mstns:LoaiHDLD" />
    </xs:keyref>
    <xs:keyref name="FK_tblAssignment_tblCrew" refer="tblCrew_Constraint1" msprop:rel_Generator_UserChildTable="tblAssignment" msprop:rel_Generator_ChildPropName="GettblAssignmentRows" msprop:rel_Generator_UserParentTable="tblCrew" msprop:rel_Generator_UserRelationName="FK_tblAssignment_tblCrew2" msprop:rel_Generator_RelationVarName="relationFK_tblAssignment_tblCrew2" msprop:rel_Generator_ParentPropName="tblCrewRow" msdata:RelationName="FK_tblAssignment_tblCrew2">
      <xs:selector xpath=".//mstns:tblAssignment" />
      <xs:field xpath="mstns:nCrewid" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_tblImmigrationCrew_tblImmigrationDoc" msdata:parent="tblImmigrationDoc" msdata:child="tblImmigrationCrew" msdata:parentkey="nImmigrationId" msdata:childkey="nImmigrationId" msprop:Generator_UserChildTable="tblImmigrationCrew" msprop:Generator_ChildPropName="GettblImmigrationCrewRows" msprop:Generator_UserParentTable="tblImmigrationDoc" msprop:Generator_UserRelationName="FK_tblImmigrationCrew_tblImmigrationDoc" msprop:Generator_RelationVarName="relationFK_tblImmigrationCrew_tblImmigrationDoc" msprop:Generator_ParentPropName="tblImmigrationDocRow" />
      <msdata:Relationship name="FK_tblEducation_tblEducationType" msdata:parent="tblEducationType" msdata:child="tblEducation" msdata:parentkey="nEducationType" msdata:childkey="nEducationType" msprop:Generator_UserChildTable="tblEducation" msprop:Generator_ChildPropName="GettblEducationRows" msprop:Generator_UserParentTable="tblEducationType" msprop:Generator_UserRelationName="FK_tblEducation_tblEducationType" msprop:Generator_RelationVarName="relationFK_tblEducation_tblEducationType" msprop:Generator_ParentPropName="tblEducationTypeRow" />
      <msdata:Relationship name="FK_tblEducation_tblCourse" msdata:parent="tblCourse" msdata:child="tblEducation" msdata:parentkey="nCourse" msdata:childkey="nCource" msprop:Generator_UserChildTable="tblEducation" msprop:Generator_ChildPropName="GettblEducationRows" msprop:Generator_ParentPropName="tblCourseRow" msprop:Generator_UserRelationName="FK_tblEducation_tblCourse" msprop:Generator_RelationVarName="relationFK_tblEducation_tblCourse" msprop:Generator_UserParentTable="tblCourse" />
      <msdata:Relationship name="FK_tblCertificateCrew_tblCertification" msdata:parent="tblCertification" msdata:child="tblCertificateCrew" msdata:parentkey="nCertificationId" msdata:childkey="nCertificationId" msprop:Generator_UserChildTable="tblCertificateCrew" msprop:Generator_ChildPropName="GettblCertificateCrewRows" msprop:Generator_ParentPropName="tblCertificationRow" msprop:Generator_UserRelationName="FK_tblCertificateCrew_tblCertification" msprop:Generator_RelationVarName="relationFK_tblCertificateCrew_tblCertification" msprop:Generator_UserParentTable="tblCertification" />
      <msdata:Relationship name="FK_tblExprience_tblRank" msdata:parent="tblRank" msdata:child="tblExprience" msdata:parentkey="nRankId" msdata:childkey="nRankId" msprop:Generator_UserChildTable="tblExprience" msprop:Generator_ChildPropName="GettblExprienceRows" msprop:Generator_UserParentTable="tblRank" msprop:Generator_UserRelationName="FK_tblExprience_tblRank" msprop:Generator_RelationVarName="relationFK_tblExprience_tblRank" msprop:Generator_ParentPropName="tblRankRow" />
      <msdata:Relationship name="FK_tblRank_tblCrewType" msdata:parent="tblCrewType" msdata:child="tblRank" msdata:parentkey="id" msdata:childkey="iRankType" msprop:Generator_UserChildTable="tblRank" msprop:Generator_ChildPropName="GettblRankRows" msprop:Generator_UserParentTable="tblCrewType" msprop:Generator_UserRelationName="FK_tblRank_tblCrewType" msprop:Generator_RelationVarName="relationFK_tblRank_tblCrewType" msprop:Generator_ParentPropName="tblCrewTypeRow" />
      <msdata:Relationship name="FK_tblRanking_tblRank" msdata:parent="tblRank" msdata:child="tblRanking" msdata:parentkey="nRankId" msdata:childkey="rankID" msprop:Generator_UserChildTable="tblRanking" msprop:Generator_ChildPropName="GettblRankingRows" msprop:Generator_UserParentTable="tblRank" msprop:Generator_UserRelationName="FK_tblRanking_tblRank" msprop:Generator_RelationVarName="relationFK_tblRanking_tblRank" msprop:Generator_ParentPropName="tblRankRow" />
      <msdata:Relationship name="FK_tblRanking_tblCrew" msdata:parent="tblCrew" msdata:child="tblRanking" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblRanking" msprop:Generator_ChildPropName="GettblRankingRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblRanking_tblCrew" msprop:Generator_RelationVarName="relationFK_tblRanking_tblCrew" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblCrew_tblCrewType" msdata:parent="tblCrewType" msdata:child="tblCrew" msdata:parentkey="id" msdata:childkey="iCrewType" msprop:Generator_UserChildTable="tblCrew" msprop:Generator_ChildPropName="GettblCrewRows" msprop:Generator_UserParentTable="tblCrewType" msprop:Generator_UserRelationName="FK_tblCrew_tblCrewType" msprop:Generator_RelationVarName="relationFK_tblCrew_tblCrewType" msprop:Generator_ParentPropName="tblCrewTypeRow" />
      <msdata:Relationship name="FK_tblAssignment_tblCrew1" msdata:parent="tblCrew" msdata:child="tblViewCrew" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblViewCrew" msprop:Generator_ChildPropName="GettblViewCrewRows" msprop:Generator_ParentPropName="tblCrewRow" msprop:Generator_UserRelationName="FK_tblAssignment_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblAssignment_tblCrew1" msprop:Generator_UserParentTable="tblCrew" />
      <msdata:Relationship name="FK_tblCrew_tblRank" msdata:parent="tblRank" msdata:child="tblCrew" msdata:parentkey="nRankId" msdata:childkey="nRankID" msprop:Generator_UserChildTable="tblCrew" msprop:Generator_ChildPropName="GettblCrewRows" msprop:Generator_ParentPropName="tblRankRow" msprop:Generator_UserRelationName="FK_tblCrew_tblRank" msprop:Generator_RelationVarName="relationFK_tblCrew_tblRank" msprop:Generator_UserParentTable="tblRank" />
      <msdata:Relationship name="FK_tblEducation_tblCrew1" msdata:parent="tblViewCrew" msdata:child="tblEducation" msdata:parentkey="nCrewId" msdata:childkey="cCrewID" msprop:Generator_UserChildTable="tblEducation" msprop:Generator_ChildPropName="GettblEducationRows" msprop:Generator_ParentPropName="tblViewCrewRow" msprop:Generator_UserRelationName="FK_tblEducation_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblEducation_tblCrew1" msprop:Generator_UserParentTable="tblViewCrew" />
      <msdata:Relationship name="FK_tblCertificateCrew_tblCrew2" msdata:parent="tblViewCrew" msdata:child="tblCertificateCrew" msdata:parentkey="nCrewId" msdata:childkey="nCrewid" msprop:Generator_UserChildTable="tblCertificateCrew" msprop:Generator_ChildPropName="GettblCertificateCrewRows" msprop:Generator_ParentPropName="tblViewCrewRow" msprop:Generator_UserRelationName="FK_tblCertificateCrew_tblCrew2" msprop:Generator_RelationVarName="relationFK_tblCertificateCrew_tblCrew2" msprop:Generator_UserParentTable="tblViewCrew" />
      <msdata:Relationship name="FK_tblExprience_tblCrew1" msdata:parent="tblViewCrew" msdata:child="tblExprience" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblExprience" msprop:Generator_ChildPropName="GettblExprienceRows" msprop:Generator_ParentPropName="tblViewCrewRow" msprop:Generator_UserRelationName="FK_tblExprience_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblExprience_tblCrew1" msprop:Generator_UserParentTable="tblViewCrew" />
      <msdata:Relationship name="FK_tblRanking_tblCrew1" msdata:parent="tblViewCrew" msdata:child="tblRanking" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblRanking" msprop:Generator_ChildPropName="GettblRankingRows" msprop:Generator_ParentPropName="tblViewCrewRow" msprop:Generator_UserRelationName="FK_tblRanking_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblRanking_tblCrew1" msprop:Generator_UserParentTable="tblViewCrew" />
      <msdata:Relationship name="FK_tblCrew_tblCrewType1" msdata:parent="tblCrewType" msdata:child="tblViewCrew" msdata:parentkey="id" msdata:childkey="iCrewType" msprop:Generator_UserChildTable="tblViewCrew" msprop:Generator_ChildPropName="GettblViewCrewRows" msprop:Generator_ParentPropName="tblCrewTypeRow" msprop:Generator_UserRelationName="FK_tblCrew_tblCrewType1" msprop:Generator_RelationVarName="relationFK_tblCrew_tblCrewType1" msprop:Generator_UserParentTable="tblCrewType" />
      <msdata:Relationship name="FK_tblCrew_tblRank1" msdata:parent="tblRank" msdata:child="tblViewCrew" msdata:parentkey="nRankId" msdata:childkey="nRankID" msprop:Generator_UserChildTable="tblViewCrew" msprop:Generator_ChildPropName="GettblViewCrewRows" msprop:Generator_ParentPropName="tblRankRow" msprop:Generator_UserRelationName="FK_tblCrew_tblRank1" msprop:Generator_RelationVarName="relationFK_tblCrew_tblRank1" msprop:Generator_UserParentTable="tblRank" />
      <msdata:Relationship name="FK_tblNhanXetCuaChuTau_tblCrew1" msdata:parent="tblViewCrew" msdata:child="tblNhanXetCuaChuTau" msdata:parentkey="nCrewId" msdata:childkey="nCrewID" msprop:Generator_UserChildTable="tblNhanXetCuaChuTau" msprop:Generator_ChildPropName="GettblNhanXetCuaChuTauRows" msprop:Generator_ParentPropName="tblViewCrewRow" msprop:Generator_UserRelationName="FK_tblNhanXetCuaChuTau_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblNhanXetCuaChuTau_tblCrew1" msprop:Generator_UserParentTable="tblViewCrew" />
      <msdata:Relationship name="FK_tblNhanXetCuaChuTau_tblCrew" msdata:parent="tblCrew" msdata:child="tblNhanXetCuaChuTau" msdata:parentkey="nCrewId" msdata:childkey="nCrewID" msprop:Generator_UserChildTable="tblNhanXetCuaChuTau" msprop:Generator_ChildPropName="GettblNhanXetCuaChuTauRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblNhanXetCuaChuTau_tblCrew" msprop:Generator_RelationVarName="relationFK_tblNhanXetCuaChuTau_tblCrew" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblEducation_tblCrew2" msdata:parent="tblCrew" msdata:child="tblEducation" msdata:parentkey="nCrewId" msdata:childkey="cCrewID" msprop:Generator_UserChildTable="tblEducation" msprop:Generator_ChildPropName="GettblEducationRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblEducation_tblCrew2" msprop:Generator_RelationVarName="relationFK_tblEducation_tblCrew2" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblCertificateCrew_tblCrew" msdata:parent="tblCrew" msdata:child="tblCertificateCrew" msdata:parentkey="nCrewId" msdata:childkey="nCrewid" msprop:Generator_UserChildTable="tblCertificateCrew" msprop:Generator_ChildPropName="GettblCertificateCrewRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblCertificateCrew_tblCrew" msprop:Generator_RelationVarName="relationFK_tblCertificateCrew_tblCrew" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblExprience_tblCrew2" msdata:parent="tblCrew" msdata:child="tblExprience" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblExprience" msprop:Generator_ChildPropName="GettblExprienceRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblExprience_tblCrew2" msprop:Generator_RelationVarName="relationFK_tblExprience_tblCrew2" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblImmigrationCrew_tblCrew1" msdata:parent="tblCrew" msdata:child="tblImmigrationCrew" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblImmigrationCrew" msprop:Generator_ChildPropName="GettblImmigrationCrewRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblImmigrationCrew_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblImmigrationCrew_tblCrew1" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblEducation_tblSchoolName" msdata:parent="tblSchoolName" msdata:child="tblEducation" msdata:parentkey="id" msdata:childkey="cSchoolName" msprop:Generator_UserChildTable="tblEducation" msprop:Generator_ChildPropName="GettblEducationRows" msprop:Generator_UserParentTable="tblSchoolName" msprop:Generator_UserRelationName="FK_tblEducation_tblSchoolName" msprop:Generator_RelationVarName="relationFK_tblEducation_tblSchoolName" msprop:Generator_ParentPropName="tblSchoolNameRow" />
      <msdata:Relationship name="FK_tblContract_tblCrew" msdata:parent="tblCrew" msdata:child="tblContract" msdata:parentkey="nCrewId" msdata:childkey="nCrewId" msprop:Generator_UserChildTable="tblContract" msprop:Generator_ChildPropName="GettblContractRows" msprop:Generator_ParentPropName="tblCrewRow" msprop:Generator_UserRelationName="FK_tblContract_tblCrew" msprop:Generator_RelationVarName="relationFK_tblContract_tblCrew" msprop:Generator_UserParentTable="tblCrew" />
      <msdata:Relationship name="FK_tblQuanHe_tblCrew" msdata:parent="tblCrew" msdata:child="tblQuanHe" msdata:parentkey="nCrewId" msdata:childkey="CrewID" msprop:Generator_UserChildTable="tblQuanHe" msprop:Generator_ChildPropName="GettblQuanHeRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblQuanHe_tblCrew" msprop:Generator_RelationVarName="relationFK_tblQuanHe_tblCrew" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblAccountCrew_tblCrew1" msdata:parent="tblCrew" msdata:child="tblAccountCrew" msdata:parentkey="nCrewId" msdata:childkey="CrewID" msprop:Generator_UserChildTable="tblAccountCrew" msprop:Generator_ChildPropName="GettblAccountCrewRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblAccountCrew_tblCrew1" msprop:Generator_RelationVarName="relationFK_tblAccountCrew_tblCrew1" msprop:Generator_ParentPropName="tblCrewRow" />
      <msdata:Relationship name="FK_tblHDLD_tblCrew" msdata:parent="tblCrew" msdata:child="tblHDLD" msdata:parentkey="nCrewId" msdata:childkey="CrewID" msprop:Generator_UserChildTable="tblHDLD" msprop:Generator_ChildPropName="GettblHDLDRows" msprop:Generator_UserParentTable="tblCrew" msprop:Generator_UserRelationName="FK_tblHDLD_tblCrew" msprop:Generator_RelationVarName="relationFK_tblHDLD_tblCrew" msprop:Generator_ParentPropName="tblCrewRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>